Skip to content

Commit

Permalink
Fixed version number on UpgradeData script
Browse files Browse the repository at this point in the history
  • Loading branch information
pini-girit committed Nov 26, 2018
1 parent 8ef1ca0 commit 3cebb3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Setup/UpgradeData.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface
{
$setup->startSetup();

if (version_compare($context->getVersion(), '0.6.3') < 0) {
if (version_compare($context->getVersion(), '1.6.3') < 0) {
echo "- Reseting configurations for 'website' & 'store' scopes (only supports 'default' at the moment).\n";
$this->_resourceConnection->getConnection()->delete(
$this->_resourceConnection->getTableName('core_config_data'),
Expand Down

0 comments on commit 3cebb3f

Please sign in to comment.