From 0c3f98cc37eb6e41fb6556ab58f815fe7b025a58 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 23 Oct 2021 16:04:54 +0200 Subject: [PATCH] Replaced implicit false in migration by a check on the platform --- data/migrations/Version20160819142757.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/migrations/Version20160819142757.php b/data/migrations/Version20160819142757.php index 773a4d9b..70831eb9 100644 --- a/data/migrations/Version20160819142757.php +++ b/data/migrations/Version20160819142757.php @@ -44,6 +44,6 @@ class Version20160819142757 extends AbstractMigration public function isTransactional(): bool { - return false; + return $this->connection->getDatabasePlatform()->getName() !== 'mysql'; } }