Skip to content

Commit

Permalink
DbMigration: Break once a correct schema version is found
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed May 7, 2024
1 parent 6fb47e3 commit f773891
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/Reporting/ProvidedHook/DbMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public function getVersion(): string
foreach ($schema as $version) {
if ($version->success) {
$this->version = $version->version;

break;
}
}

Expand Down

0 comments on commit f773891

Please sign in to comment.