Skip to content

Commit

Permalink
MAGETWO-70490: Inconsistency between versions in module.xml and Ubgra…
Browse files Browse the repository at this point in the history
…deSchema for CatalogRule Module
  • Loading branch information
irenelagno committed Jul 6, 2017
1 parent f3ca7d4 commit f5eda85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/CatalogRule/Setup/UpgradeSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con
}
}

if (version_compare($context->getVersion(), '2.2.0', '<')) {
if (version_compare($context->getVersion(), '2.1.0', '<')) {
$connection = $setup->getConnection();
$connection->dropForeignKey(
$setup->getTable('catalogrule_group_website'),
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/CatalogRule/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_CatalogRule" setup_version="2.0.3">
<module name="Magento_CatalogRule" setup_version="2.1.0">
<sequence>
<module name="Magento_Rule"/>
<module name="Magento_Catalog"/>
Expand Down

0 comments on commit f5eda85

Please sign in to comment.