From 336fdde8ec1ca69be32ec9bccd796541722712b1 Mon Sep 17 00:00:00 2001 From: Nikitin Aleksandr Date: Mon, 8 Apr 2024 13:54:14 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20"public"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +++- internal/postgres/postgres.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 21b4067..c807466 100644 --- a/.gitignore +++ b/.gitignore @@ -21,5 +21,7 @@ /bin/templates_main/ /bin/templates/configs_/.env_rapira /bin/templates/configs_/.env_test -/bin/templates/configs_/.env0 +/bin/templates/configs_/.env /bin/notifier_service/ +/bin/templates/configs_/.env_notifier +/bin/templates/configs_/.env* diff --git a/internal/postgres/postgres.go b/internal/postgres/postgres.go index c2861f2..cf7992c 100644 --- a/internal/postgres/postgres.go +++ b/internal/postgres/postgres.go @@ -83,7 +83,7 @@ from pg_constraint pgc on pgc.conname = ccu.constraint_name and nsp.nspname = ccu.constraint_schema WHERE 1=1 - and ccu.table_schema = 'notifier_dev' + and ccu.table_schema = 'public' and contype = 'p' GROUP BY