From 535df876f7d74ece68d0c6d3644127947b1bcb5e Mon Sep 17 00:00:00 2001 From: Thomas Burkhalter Date: Tue, 15 Oct 2024 23:55:50 +0200 Subject: [PATCH] Use production DB name from env --- config/database.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.yml b/config/database.yml index 7e081232..98652c25 100644 --- a/config/database.yml +++ b/config/database.yml @@ -26,5 +26,5 @@ test: production: <<: *default - database: decidim_zuerich_production + database: <%= ENV.fetch('RAILS_DB_NAME', 'decidim_zuerich_production') %> url: <%= ENV['DATABASE_URL'] %>