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