Skip to content

Commit

Permalink
Merge pull request #5757 from ChurchCRM/bug/sql-update-wait
Browse files Browse the repository at this point in the history
Fixed db errors post upgrade
  • Loading branch information
DawoudIO authored May 9, 2021
2 parents 9464602 + e9a2031 commit f28a5a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ChurchCRM/Service/UpgradeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ static public function upgradeDatabaseVersion()
if (!$errorFlag) {
$version->setUpdateEnd(new \DateTime());
$version->save();
sleep(2);
}
// increment the number of scripts executed.
// If no scripts run, then there is no supported upgrade path defined in the JSON file
Expand Down

0 comments on commit f28a5a0

Please sign in to comment.