From e29c1446fb6f2d6cea9341b852dea5ae173e120e Mon Sep 17 00:00:00 2001 From: buttercat1791 Date: Wed, 25 Feb 2026 21:34:40 -0600 Subject: [PATCH] Use admin user/pass as base config --- config/config.exs | 4 ++-- config/dev.exs | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config/config.exs b/config/config.exs index d2b5317..adc7f6b 100644 --- a/config/config.exs +++ b/config/config.exs @@ -12,8 +12,8 @@ config :gc_index_relay, generators: [timestamp_type: :utc_datetime] config :gc_index_relay, GcIndexRelay.Repo, - username: System.get_env("POSTGRES_USER"), - password: System.get_env("POSTGRES_PASSWORD"), + username: System.get_env("POSTGRES_ADMIN_USER"), + password: System.get_env("POSTGRES_ADMIN_PASSWORD"), database: System.get_env("POSTGRES_DB"), hostname: System.get_env("POSTGRES_HOST"), stacktrace: true, diff --git a/config/dev.exs b/config/dev.exs index cdd2b95..cd093cf 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -2,8 +2,6 @@ import Config # Configure your database config :gc_index_relay, GcIndexRelay.Repo, - username: System.get_env("POSTGRES_ADMIN_USER"), - password: System.get_env("POSTGRES_ADMIN_PASSWORD"), stacktrace: true, show_sensitive_data_on_connection_error: true, pool_size: 10