diff --git a/Classes/Service/DoctrineService.php b/Classes/Service/DoctrineService.php index c687500..7132140 100644 --- a/Classes/Service/DoctrineService.php +++ b/Classes/Service/DoctrineService.php @@ -234,6 +234,7 @@ public function generateMigration(): string public function getDatabasePlatformName(): string { $platform = $this->connection->getDatabasePlatform(); + return match (true) { $platform instanceof AbstractMySQLPlatform => 'Mysql', $platform instanceof PostgreSQLPlatform => 'Postgresql',