From c32b1e1cd2227d4b573ab0f3aed93c9c84def777 Mon Sep 17 00:00:00 2001 From: Stefan Verhoeven Date: Fri, 27 Jul 2018 09:11:15 +0200 Subject: [PATCH] Rename active record adaptor --- config/database.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/config/database.yml b/config/database.yml index 01d0c91..4324d99 100644 --- a/config/database.yml +++ b/config/database.yml @@ -1,40 +1,49 @@ production: - adapter: postgres + adapter: postgresql encoding: unicode host: localhost port: 5432 + direct_port: 5432 database: carto_db_production username: postgres password: conn_validator_timeout: 900 + prepared_statements: false staging: - adapter: postgres + adapter: postgresql encoding: unicode host: localhost port: 5432 + direct_port: 5432 database: carto_db_staging username: postgres password: conn_validator_timeout: 900 + prepared_statements: false development: - adapter: postgres + adapter: postgresql encoding: unicode host: localhost port: 5432 + direct_port: 5432 database: carto_db_development username: postgres password: conn_validator_timeout: 900 + pool: 50 + prepared_statements: false test: - adapter: postgres + adapter: postgresql encoding: unicode database: carto_db_test host: localhost port: 5432 + direct_port: 5432 username: postgres password: conn_validator_timeout: -1 + prepared_statements: false