From c7b44485b32925e1aca5b1e7ccda8d711214d0fc Mon Sep 17 00:00:00 2001 From: kikito Date: Wed, 2 Sep 2015 16:52:29 +0200 Subject: [PATCH] modifies example so that the dev database can be used to generate the assets of staging, preproduction and production --- config/database.yml.example | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/config/database.yml.example b/config/database.yml.example index f09af3a66..f2a9d4f6c 100644 --- a/config/database.yml.example +++ b/config/database.yml.example @@ -6,19 +6,21 @@ default: &default username: password: -development: +development: &development <<: *default database: participacion_development +# The staging, preproduction and production dbs are only needed +# for running rake assets:precompile locally before deploying staging: - <<: *default + <<: *development preproduction: - <<: *default + <<: *development production: - <<: *default + <<: *development test: <<: *default - database: participacion_test \ No newline at end of file + database: participacion_test