Skip to content

Commit

Permalink
Pull prod db configuration from environment
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Aug 25, 2023
1 parent df1d892 commit 8d717f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ test: &test
adapter: postgresql
username: postgres
database: illyan_test

production:
url: <%= ENV.fetch('DATABASE_URL') %>

0 comments on commit 8d717f5

Please sign in to comment.