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 8edcb05 commit 68d74e0Copy full SHA for 68d74e0
src/Schema.php
@@ -310,7 +310,7 @@ protected function loadTableIndexes(string $tableName): array
310
INNER JOIN "pg_attribute" AS "ia"
311
ON "ia"."attrelid" = "i"."indexrelid" AND "ia"."attnum" <= cardinality("i"."indoption")
312
WHERE "tcns"."nspname" = :schemaName AND "tc"."relname" = :tableName
313
- ORDER BY "ia"."attnum" ASC
+ ORDER BY "i"."indkey" ASC
314
SQL;
315
316
$resolvedName = $this->resolveTableName($tableName);
0 commit comments