mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-22 11:54:41 +02:00
Really skip migrations that are not needed.
This commit is contained in:
parent
bc885decf5
commit
7c16ee299b
2 changed files with 6 additions and 2 deletions
|
@ -48,6 +48,7 @@ final class Version20190902140506 extends AbstractMultiPlatformMigration
|
|||
} catch (DBALException $dBALException) {
|
||||
//when the table was not found, then you can not use this migration
|
||||
$this->warnIf(true, 'Empty database detected. Skip migration.');
|
||||
return;
|
||||
}
|
||||
|
||||
//Deactive SQL Modes (especially NO_ZERO_DATE, which prevents updating)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue