From d8c9f9ca118e42e76b1ac21a001fcbb1b7fbc0b6 Mon Sep 17 00:00:00 2001 From: Kosuke Tanabe Date: Mon, 30 Sep 2024 00:45:35 +0900 Subject: [PATCH] add database for solid_queue --- config/database.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/config/database.yml b/config/database.yml index e46d951a6..6207df177 100644 --- a/config/database.yml +++ b/config/database.yml @@ -83,7 +83,12 @@ test: # for a full overview on how database connection configuration can be specified. # production: - <<: *default - database: enju_leaf_production - username: enju_leaf - password: <%= ENV['ENJU_LEAF_DATABASE_PASSWORD'] %> + primary: &primary_production + <<: *default + database: enju_leaf_production + username: <%= ENV["POSTGRES_USER"] %> + password: <%= ENV["POSTGRES_PASSWORD"] %> + queue: + <<: *primary_production + database: enju_leaf_production_queue + migrations_paths: db/queue_migrate