Skip to content

Commit

Permalink
changing database.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mdromi committed Feb 10, 2024
1 parent e0431d2 commit 8bfcd2a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ test:
# for a full overview on how database connection configuration can be specified.
#

# production:
# <<: *default
# database: url_shortener_production
# username: url_shortener
# password: <%= ENV["URL_SHORTENER_DATABASE_PASSWORD"] %>
production:
<<: *default
database: url_shortener_production
username: url_shortener
password: <%= ENV["URL_SHORTENER_DATABASE_PASSWORD"] %>

default: &default
adapter: postgresql
encoding: unicode
host: <%= ENV["POSTGRES_HOST"] %>
user: <%= ENV["POSTGRES_USER"] %>
password: <%= ENV["POSTGRES_PASSWORD"] %>
# default: &default
# adapter: postgresql
# encoding: unicode
# host: <%= ENV["POSTGRES_HOST"] %>
# user: <%= ENV["POSTGRES_USER"] %>
# password: <%= ENV["POSTGRES_PASSWORD"] %>

0 comments on commit 8bfcd2a

Please sign in to comment.