Skip to content

Commit

Permalink
add update version
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestaSafe committed Oct 17, 2024
1 parent e6d4ea7 commit 82e6da4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion upgrade/upgrade-3.1.2.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
function upgrade_module_3_1_2($module)
{
$module->registerHook($module->hooks);
$module->makeConnectedEmployee();
if (!PrettyBlocksMigrate::tableExists('prettyblocks_connected_employee')) {
$module->makeConnectedEmployee();
}

return true;
}

0 comments on commit 82e6da4

Please sign in to comment.