We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ea3640 + 66c01b5 commit 75111e5Copy full SHA for 75111e5
src/Meta/Postgres/Schema.php
@@ -283,7 +283,8 @@ protected function wrap($table)
283
*/
284
public static function schemas(Connection $connection)
285
{
286
- $schemas = $connection->getDoctrineSchemaManager()->listDatabases();
+ $schemas = $connection->select('SELECT datname FROM pg_database');
287
+ $schemas = array_column($schemas, 'datname');
288
289
return array_diff($schemas, [
290
'postgres',
0 commit comments