Skip to content

Commit

Permalink
no longer needed since DBAL 3.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Feb 23, 2024
1 parent 266e9ae commit ca8166b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Schema/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit ca8166b

Please sign in to comment.