Skip to content

Commit

Permalink
fix: fix schema update failure (#655)
Browse files Browse the repository at this point in the history
Resolves #654
  • Loading branch information
joerivanveen authored Feb 17, 2022
1 parent a6e485f commit 9b6a49a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Setup/UpgradeData.php
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface
$connection->insert($table, $bind);
}
$insuranceBelgium = 'myparcelnl_magento_postnl_settings/default_options/insurance_belgium_active';
$connection->delete($table, ['path = ?' => $insuranceBelgium]);
$connection->insert($table, ['path' => $insuranceBelgium, 'value' => 1]);
}
$setup->endSetup();
Expand Down

0 comments on commit 9b6a49a

Please sign in to comment.