From d33781242a091530611e9ee886d793859519c217 Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Thu, 9 Nov 2023 16:18:16 +0100 Subject: [PATCH] Fix adapter name --- config/database.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config/database.yml b/config/database.yml index 1d3522d8..e44f0dba 100644 --- a/config/database.yml +++ b/config/database.yml @@ -1,13 +1,13 @@ default: &default adapter: postgresql encoding: utf8 + pool: 5 + timeout: 5000 host: <%= ENV.fetch('SOFTWARE_DB_HOST', 'database') %> port: <%= ENV.fetch('SOFTWARE_DB_PORT', '5432') %> username: <%= ENV.fetch('SOFTWARE_DB_USER', 'postgres') %> password: <%= ENV.fetch('SOFTWARE_DB_PASSWORD', 'mysecretpassword') %> database: <%= ENV.fetch('SOFTWARE_DB_NAME', 'postgres') %> - pool: 5 - timeout: 5000 development: <<: *default @@ -18,4 +18,7 @@ test: database: software_test production: - adapter: pg + adapter: postgresql + encoding: utf8 + pool: 5 + timeout: 5000