Skip to content

Commit 68d74e0

Browse files
committed
Fix tests
1 parent 8edcb05 commit 68d74e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Schema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ protected function loadTableIndexes(string $tableName): array
310310
INNER JOIN "pg_attribute" AS "ia"
311311
ON "ia"."attrelid" = "i"."indexrelid" AND "ia"."attnum" <= cardinality("i"."indoption")
312312
WHERE "tcns"."nspname" = :schemaName AND "tc"."relname" = :tableName
313-
ORDER BY "ia"."attnum" ASC
313+
ORDER BY "i"."indkey" ASC
314314
SQL;
315315

316316
$resolvedName = $this->resolveTableName($tableName);

0 commit comments

Comments
 (0)