From ca8166b7e58afa5c0bbffc2fafc2fe1ddec3c898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Sat, 24 Feb 2024 00:46:45 +0100 Subject: [PATCH] no longer needed since DBAL 3.4.3 --- src/Schema/Migrator.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Schema/Migrator.php b/src/Schema/Migrator.php index 6274d11c82..02c5950b5a 100644 --- a/src/Schema/Migrator.php +++ b/src/Schema/Migrator.php @@ -205,8 +205,6 @@ protected function stripDatabaseFromTableName(string $tableName): string $currentDatabase = $this->getConnection()->dsql() ->field($this->getConnection()->expr('{{}}', [$this->getDatabasePlatform()->getCurrentDatabaseExpression(true)])) // @phpstan-ignore-line ->getOne(); - } elseif ($platform instanceof SQLitePlatform) { - $currentDatabase = 'main'; } else { $currentDatabase = $this->getConnection()->getConnection()->getDatabase(); }