diff --git a/src/Services/DatabaseTools/ORMDatabaseTool.php b/src/Services/DatabaseTools/ORMDatabaseTool.php index 54c227fc..0a0829fc 100644 --- a/src/Services/DatabaseTools/ORMDatabaseTool.php +++ b/src/Services/DatabaseTools/ORMDatabaseTool.php @@ -180,11 +180,11 @@ protected function createDatabaseIfNotExists(): void try { if (!\in_array($dbName, $tmpConnection->createSchemaManager()->listDatabases(), true)) { - $tmpConnection->createSchemaManager()->createDatabase($dbName); } - } catch (\Doctrine\DBAL\Platforms\Exception\NotSupported $e) - {} + } catch (\Doctrine\DBAL\Platforms\Exception\NotSupported $e) { + + } $tmpConnection->close(); }