mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix: add DB constraints sorting reference (#6838)
This commit is contained in:
parent
e8c71fa913
commit
4945a2709f
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ const queryDatabaseManifest = async (database) => {
|
|||
inner join pg_catalog.pg_namespace nsp
|
||||
on nsp.oid = connamespace
|
||||
where nsp.nspname = 'public'
|
||||
order by conname asc, def asc;
|
||||
order by conname asc, def asc, conrelid::regclass asc;
|
||||
`);
|
||||
|
||||
const { rows: indexes } = await pool.query(/* sql */ `
|
||||
|
|
Loading…
Reference in a new issue