Replaced implicit false in migration by a check on the platform

This commit is contained in:
Alejandro Celaya 2021-10-23 16:04:54 +02:00
parent cd35770d26
commit 0c3f98cc37

View File

@ -44,6 +44,6 @@ class Version20160819142757 extends AbstractMigration
public function isTransactional(): bool
{
return false;
return $this->connection->getDatabasePlatform()->getName() !== 'mysql';
}
}