Skip to content

Commit d04066f

Browse files
authored
sqlsrv: use properly capitalized schema table name
1 parent a0a552c commit d04066f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Platforms/SqlServerPlatform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function getTables(?string $schema = null): array
4545
{
4646
$result = $this->connection->query(/** @lang GenericSQL */ "
4747
SELECT TABLE_NAME, TABLE_TYPE, TABLE_SCHEMA
48-
FROM information_schema.tables
48+
FROM [INFORMATION_SCHEMA].[TABLES]
4949
WHERE TABLE_SCHEMA = COALESCE(%?s, SCHEMA_NAME())
5050
ORDER BY TABLE_NAME
5151
", $schema);

0 commit comments

Comments
 (0)