Ensured migrations are not transactional when run in mysql

This commit is contained in:
Alejandro Celaya
2021-10-23 16:02:29 +02:00
parent bd3a59e9ca
commit cd35770d26
33 changed files with 158 additions and 2 deletions

View File

@@ -66,4 +66,9 @@ final class Version20180913205455 extends AbstractMigration
{
// Nothing to rollback
}
public function isTransactional(): bool
{
return $this->connection->getDatabasePlatform()->getName() !== 'mysql';
}
}