Skip to content

Commit

Permalink
MC-19627: [GitHub] StockSalesChannel does not remove original record …
Browse files Browse the repository at this point in the history
…from installation prior to insertion of new records #715
  • Loading branch information
victor-v-rad committed Sep 20, 2019
1 parent c4ffddf commit b33784c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Migration/Step/Inventory/Model/StockSalesChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public function prepareSelect()
*/
public function insertFromSelect(\Magento\Framework\DB\Select $select)
{
$this->destination->clearDocument($this->getDestinationTableName());
/** @var \Migration\ResourceModel\Adapter\Mysql $adapter */
$adapter = $this->destination->getAdapter();
$adapter->insertFromSelect(
Expand Down

0 comments on commit b33784c

Please sign in to comment.