Don't create a schema to check if the migrations table exists

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-11-10 21:29:09 +01:00
parent dde0e73c6b
commit 77713ab454
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 5 additions and 0 deletions

View File

@ -124,6 +124,11 @@ class MigrationService {
return false;
}
if ($this->connection->tableExists('migrations')) {
$this->migrationTableCreated = true;
return false;
}
$schema = new SchemaWrapper($this->connection);
/**