Skip to content

Commit

Permalink
feat: fix removed function in doctrine/dbal 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris8934 committed Feb 23, 2024
1 parent d3010c7 commit ddc5cf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Services/DatabaseTools/ORMDatabaseTool.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit ddc5cf7

Please sign in to comment.