Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Set localhost as default database host in dev/test
Browse files Browse the repository at this point in the history
  • Loading branch information
mcritchlow authored and VivianChu committed Jul 24, 2018
1 parent 4b9cb12 commit 3fb10b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ variables:
development:
<<: *default
database: damspas_development
host: <%= ENV.fetch('APPS_DHH_DEV_DB') %>
host: <%= ENV.fetch('APPS_DHH_DEV_DB') {'localhost'} %>
username: <%= ENV.fetch('APPS_DHH_DEV_DB_USER') {'dams'}%>
password: <%= ENV.fetch('APPS_DHH_DEV_DB_PASS') {'dams'}%>

Expand Down Expand Up @@ -58,7 +58,7 @@ demo:
test:
<<: *default
database: damspas_test
host: <%= ENV.fetch('APPS_DHH_DEV_DB') %>
host: <%= ENV.fetch('APPS_DHH_DEV_DB') {'localhost'} %>
username: <%= ENV.fetch('APPS_DHH_DEV_DB_USER') {'dams'}%>
password: <%= ENV.fetch('APPS_DHH_DEV_DB_PASS') {'dams'}%>

Expand Down

0 comments on commit 3fb10b2

Please sign in to comment.