This commit is contained in:
Jeremy Benoist
2017-10-09 16:47:15 +02:00
parent f40c88eb1f
commit 3ef055ced3
27 changed files with 37 additions and 37 deletions

View File

@ -55,7 +55,7 @@ class Version20161024212538 extends AbstractMigration implements ContainerAwareI
$clientsTable->dropColumn('user_id', 'integer');
if ($this->connection->getDatabasePlatform()->getName() !== 'sqlite') {
if ('sqlite' !== $this->connection->getDatabasePlatform()->getName()) {
$clientsTable->removeForeignKey($this->constraintName);
}
}