aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-04-03 07:23:10 +0100
committerChristopher Baines <mail@cbaines.net>2018-04-03 21:58:55 +0100
commit43a928ad763c8d8896bd6ecd26af6c1a866749ee (patch)
tree7de37a1b5161510fd5da0d9ce791d527f8beeeb6 /config
parent77219c75983d0730aad77467ee1c68b21a1bfedc (diff)
downloadgovuk-mini-environment-admin-43a928ad763c8d8896bd6ecd26af6c1a866749ee.tar
govuk-mini-environment-admin-43a928ad763c8d8896bd6ecd26af6c1a866749ee.tar.gz
Improve the database.yml
Uncomment the test and production sections.
Diffstat (limited to 'config')
-rw-r--r--config/database.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/config/database.yml b/config/database.yml
index 4504ea0..313bfde 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -5,13 +5,13 @@ default: &default
development:
<<: *default
database: govuk_mini_environment_admin_development
- #url: <%= ENV['DATABASE_URL'] %>
+ url: <%= ENV['DATABASE_URL'] %>
-# test:
-# <<: *default
-# database: govuk_mini_environment_admin_test
-# url: <%= ENV["DATABASE_URL"].try(:sub, /([-_]development)?$/, '_test')%>
+test:
+ <<: *default
+ database: govuk_mini_environment_admin_test
+ url: <%= ENV["DATABASE_URL"].try(:sub, /([-_]development)?$/, '_test')%>
-# production:
-# <<: *default
-# database: govuk_mini_environment_admin_production
+production:
+ <<: *default
+ database: govuk_mini_environment_admin_production