diff --git a/src/Platforms/PostgreSqlPlatform.php b/src/Platforms/PostgreSqlPlatform.php index 4b2fc29..b3805b2 100644 --- a/src/Platforms/PostgreSqlPlatform.php +++ b/src/Platforms/PostgreSqlPlatform.php @@ -163,7 +163,7 @@ public function getForeignKeys(string $table, ?string $schema = null): array ? "AND cl.oid = '%table.%table'::regclass" : "AND cl.oid = '%table'::regclass" ) . ' - ORDER BY atf.attnum + ORDER BY at.attnum ', ...$tableArgs); $keys = [];