mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +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) {
|
foreach ($schemaQuery as $schema) {
|
||||||
if ($schema->success) {
|
if ($schema->success) {
|
||||||
$this->version = $schema->version;
|
$this->version = $schema->version;
|
||||||
|
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user