Fixed wrong casing of SQLitePlatform

This commit is contained in:
Jan Böhmer 2024-06-09 23:36:00 +02:00
parent 777bfed813
commit 7d9be5ae76
6 changed files with 9 additions and 12 deletions

View file

@ -26,7 +26,7 @@ use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Exception;
use Doctrine\DBAL\Platforms\AbstractMySQLPlatform;
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use Doctrine\DBAL\Platforms\SqlitePlatform;
use Doctrine\DBAL\Platforms\SQLitePlatform;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use Psr\Log\LoggerInterface;
@ -166,7 +166,7 @@ abstract class AbstractMultiPlatformMigration extends AbstractMigration
return 'mysql';
}
if ($this->connection->getDatabasePlatform() instanceof SqlitePlatform) {
if ($this->connection->getDatabasePlatform() instanceof SQLitePlatform) {
return 'sqlite';
}