mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
Don't traverse schema query if the last successfully migrated version is found
This commit is contained in:
parent
73b1041816
commit
ac24c6d34b
@ -36,6 +36,8 @@ class DbMigration extends MigrationHook
|
||||
foreach ($schemaQuery as $schema) {
|
||||
if ($schema->success) {
|
||||
$this->version = $schema->version;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user