mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 07:56:01 +00:00
postgre fix
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
module.exports = `
|
||||
select conname as "constraint_name" from pg_constraint where contype = 'u' and connamespace =SCHEMA_NAME_CONDITION
|
||||
select cnt.conname as "constraint_name" from pg_constraint cnt
|
||||
inner join pg_namespace c on c.oid = cnt.connamespace
|
||||
where cnt.contype = 'u' and c.nspname =SCHEMA_NAME_CONDITION
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user