From e120e58b07b9e59bfd5770c28a5e15ad8f1336d2 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Tue, 4 Apr 2017 13:33:43 +0200 Subject: [PATCH 1/2] Change the username and password for the development DB --- README.md | 2 +- config/database.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e33184bf1..b4b35074e 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Les informations nécessaire à l'initialisation de la base doivent être pré-c su - postgres psql - > create user tps with password 'lol' superuser; + > create user tps_development with password 'tps_development' superuser; > create user tps_test with password 'tps_test' superuser; > \q diff --git a/config/database.yml b/config/database.yml index 9f8cb0b14..f3163b7a2 100644 --- a/config/database.yml +++ b/config/database.yml @@ -4,8 +4,8 @@ development: database: tps_development host: localhost pool: 5 - username: tps - password: lol + username: tps_development + password: tps_development test: From d5fdd12da826e1c976b234e376ffb46026ed09eb Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Tue, 4 Apr 2017 13:34:01 +0200 Subject: [PATCH 2/2] Clean database.yml --- config/database.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/database.yml b/config/database.yml index f3163b7a2..75dedfa2d 100644 --- a/config/database.yml +++ b/config/database.yml @@ -7,7 +7,6 @@ development: username: tps_development password: tps_development - test: adapter: postgresql encoding: unicode