diff options
author | Christopher Baines <mail@cbaines.net> | 2018-04-03 07:23:10 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-04-03 21:58:55 +0100 |
commit | 43a928ad763c8d8896bd6ecd26af6c1a866749ee (patch) | |
tree | 7de37a1b5161510fd5da0d9ce791d527f8beeeb6 /config | |
parent | 77219c75983d0730aad77467ee1c68b21a1bfedc (diff) | |
download | govuk-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.yml | 16 |
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 |