Skip to content

Commit

Permalink
[PIPRES-468] fixed upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijusCoding committed Nov 20, 2024
1 parent 57397b9 commit fa976e5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions upgrade/Upgrade-6.2.5.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,5 @@ function upgrade_module_6_2_5(Mollie $module): bool
INDEX (`id_method`)
) ENGINE=' . _MYSQL_ENGINE_ . ' DEFAULT CHARSET=utf8;';

$isTableCreated = Db::getInstance()->execute($sql);
if (!$isTableCreated) {
return false; // If the table creation fails, return false
}

return $isTableCreated;
return Db::getInstance()->execute($sql);
}

0 comments on commit fa976e5

Please sign in to comment.