Skip to content

Commit

Permalink
Fix version to 1.12.1 for unsubscribe Mview migration (PR #870) (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmalyk authored and damcou committed Oct 28, 2019
1 parent 74fb4e3 commit 3465a2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Setup/UpgradeSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con
$connection->createTable($table);
}

if (version_compare($context->getVersion(), '1.12.0', '<')) {
if (version_compare($context->getVersion(), '1.12.1', '<')) {
// @see \Magento\Framework\Mview\View::unsubscribe
/** @var \Magento\Framework\Indexer\IndexerInterface $indexer */
$indexer = $this->indexerFactory->create()->load('algolia_products');
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Algolia_AlgoliaSearch" setup_version="1.12.0">
<module name="Algolia_AlgoliaSearch" setup_version="1.12.1">
<sequence>
<module name="Magento_Theme"/>
<module name="Magento_Backend"/>
Expand Down

0 comments on commit 3465a2a

Please sign in to comment.