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 52e415d + 1497469 commit 425f43dCopy full SHA for 425f43d
src/MigrationsGenerator/DBAL/Support/FilterTables.php
@@ -40,7 +40,7 @@ protected function isPgSQLWantedTable(string $table): bool
40
}
41
42
// Schema name defined in Laravel framework.
43
- $schema = DB::connection()->getConfig('schema');
+ $schema = app(MigrationsGeneratorSetting::class)->getConnection()->getConfig('schema');
44
45
$parts = explode('.', $table);
46
$namespace = $parts[0];
0 commit comments