Skip to content
Snippets Groups Projects
Commit 2e9cbf33 authored by Alex Paliarush's avatar Alex Paliarush
Browse files

MAGETWO-60304: Raise Minor Setup Version of CatalogInventory

parent d0688f24
No related merge requests found
...@@ -54,7 +54,7 @@ class UpgradeData implements UpgradeDataInterface ...@@ -54,7 +54,7 @@ class UpgradeData implements UpgradeDataInterface
public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
{ {
$setup->startSetup(); $setup->startSetup();
if (version_compare($context->getVersion(), '2.0.2') < 0) { if (version_compare($context->getVersion(), '2.2.0') < 0) {
$this->upgradeCatalogInventoryStockItem($setup); $this->upgradeCatalogInventoryStockItem($setup);
} }
$setup->endSetup(); $setup->endSetup();
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
*/ */
--> -->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_CatalogInventory" setup_version="2.0.2"> <module name="Magento_CatalogInventory" setup_version="2.2.0">
<sequence> <sequence>
<module name="Magento_Catalog"/> <module name="Magento_Catalog"/>
</sequence> </sequence>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment