Skip to content

Commit f7c58d3

Browse files
committed
Merge branch 'develop' of github.com:magento-troll/magento2ce into MAGETWO-66100
2 parents 083e3bc + fab309a commit f7c58d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Catalog/Setup/UpgradeSchema.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con
3434
}
3535

3636
if (version_compare($context->getVersion(), '2.1.4', '<')) {
37+
$this->addSourceEntityIdToProductEavIndex($setup);
38+
}
39+
40+
if (version_compare($context->getVersion(), '2.1.5', '<')) {
3741
$this->addPercentageValueColumn($setup);
3842
$tables = [
3943
'catalog_product_index_price_cfg_opt_agr_idx',
@@ -56,7 +60,6 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con
5660
['type' => 'integer', 'nullable' => false]
5761
);
5862
}
59-
$this->addSourceEntityIdToProductEavIndex($setup);
6063
$this->recreateCatalogCategoryProductIndexTmpTable($setup);
6164
}
6265

0 commit comments

Comments
 (0)