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.
1 parent a0a552c commit d04066fCopy full SHA for d04066f
src/Platforms/SqlServerPlatform.php
@@ -45,7 +45,7 @@ public function getTables(?string $schema = null): array
45
{
46
$result = $this->connection->query(/** @lang GenericSQL */ "
47
SELECT TABLE_NAME, TABLE_TYPE, TABLE_SCHEMA
48
- FROM information_schema.tables
+ FROM [INFORMATION_SCHEMA].[TABLES]
49
WHERE TABLE_SCHEMA = COALESCE(%?s, SCHEMA_NAME())
50
ORDER BY TABLE_NAME
51
", $schema);
0 commit comments