Skip to content

Commit

Permalink
Merge pull request #1418 from hennevogel/bugfix/staging-production
Browse files Browse the repository at this point in the history
Fix adapter name
  • Loading branch information
hennevogel authored Nov 9, 2023
2 parents ba4402a + d337812 commit 3d4cb13
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config/database.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
default: &default
adapter: postgresql
encoding: utf8
pool: 5
timeout: 5000
host: <%= ENV.fetch('SOFTWARE_DB_HOST', 'database') %>
port: <%= ENV.fetch('SOFTWARE_DB_PORT', '5432') %>
username: <%= ENV.fetch('SOFTWARE_DB_USER', 'postgres') %>
password: <%= ENV.fetch('SOFTWARE_DB_PASSWORD', 'mysecretpassword') %>
database: <%= ENV.fetch('SOFTWARE_DB_NAME', 'postgres') %>
pool: 5
timeout: 5000

development:
<<: *default
Expand All @@ -18,4 +18,7 @@ test:
database: software_test

production:
adapter: pg
adapter: postgresql
encoding: utf8
pool: 5
timeout: 5000

0 comments on commit 3d4cb13

Please sign in to comment.