refactor: Make schema cache dumps more predictable with consistent ORDER

This helps diffing schema cache changes during development.
This commit is contained in:
Wolfgang Walther
2024-07-09 08:31:31 +02:00
committed by Wolfgang Walther
parent 0e2f78d9f2
commit 3daeec4e76
+1 -1
View File
@@ -748,7 +748,7 @@ tablesSqlQuery =
SELECT
key_col_usage.table_schema,
key_col_usage.table_name,
array_agg(key_col_usage.column_name) as pk_cols
array_agg(key_col_usage.column_name ORDER BY key_col_usage.column_name) as pk_cols
FROM
tbl_constraints
JOIN