diff --git a/lib/private/DB/MigrationService.php b/lib/private/DB/MigrationService.php index 138d770359..9c94cbc61f 100644 --- a/lib/private/DB/MigrationService.php +++ b/lib/private/DB/MigrationService.php @@ -124,6 +124,11 @@ class MigrationService { return false; } + if ($this->connection->tableExists('migrations')) { + $this->migrationTableCreated = true; + return false; + } + $schema = new SchemaWrapper($this->connection); /**