Skip to content

Commit f5eda85

Browse files
committed
MAGETWO-70490: Inconsistency between versions in module.xml and UbgradeSchema for CatalogRule Module
1 parent f3ca7d4 commit f5eda85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con
4040
}
4141
}
4242

43-
if (version_compare($context->getVersion(), '2.2.0', '<')) {
43+
if (version_compare($context->getVersion(), '2.1.0', '<')) {
4444
$connection = $setup->getConnection();
4545
$connection->dropForeignKey(
4646
$setup->getTable('catalogrule_group_website'),

app/code/Magento/CatalogRule/etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
9-
<module name="Magento_CatalogRule" setup_version="2.0.3">
9+
<module name="Magento_CatalogRule" setup_version="2.1.0">
1010
<sequence>
1111
<module name="Magento_Rule"/>
1212
<module name="Magento_Catalog"/>

0 commit comments

Comments
 (0)