From cb7224ac9472791009886f4294533e0f512e0e6f Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 19 Sep 2024 14:23:34 +0200 Subject: [PATCH] fix --- plugins/dbgate-plugin-postgres/src/backend/sql/uniqueNames.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dbgate-plugin-postgres/src/backend/sql/uniqueNames.js b/plugins/dbgate-plugin-postgres/src/backend/sql/uniqueNames.js index 7d413db26..f22b1c94f 100644 --- a/plugins/dbgate-plugin-postgres/src/backend/sql/uniqueNames.js +++ b/plugins/dbgate-plugin-postgres/src/backend/sql/uniqueNames.js @@ -1,3 +1,3 @@ module.exports = ` - select conname as "constraint_name" from pg_constraint where contype = 'u' and connamespace = SCHEMA_ID_CONDITION + select conname as "constraint_name" from pg_constraint where contype = 'u' and connamespace =SCHEMA_NAME_CONDITION `;