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(); }