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

@@ -65,4 +65,9 @@ final class Version20181020060559 extends AbstractMigration
{
// No down
}
public function isTransactional(): bool
{
return $this->connection->getDatabasePlatform()->getName() !== 'mysql';
}
}