Skip to content

Commit

Permalink
Try using more database config defaults specified earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
bagedevimo committed Feb 7, 2023
1 parent e0fa7a5 commit e4f63bf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
default: &default
adapter: postgresql
pool: 5
timeout: 5000

test:
<<: *default
url: <%= ENV["DATABASE_URL"] %>

nzic_test:
<<: *default
url: <%= ENV["NZIC_DATABASE_URL"] %>

0 comments on commit e4f63bf

Please sign in to comment.