Skip to content

Commit

Permalink
Updated database credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
IanTapply22 committed Jul 18, 2023
1 parent 06a5a6c commit 6775d55
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions backend/config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,21 @@
default: &default
adapter: postgresql
encoding: unicode
user: postgres
password: beans # CHANGE THIS TO THE PASSWORD YOU SET FOR THE USER >:(
username: postgres
password: 8da51afcea44ac125e97
host: 192.168.0.31
port: 5432
# For details on connection pooling, see Rails configuration guide
# https://guides.rubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>

development:
<<: *default
database: postgres # CHANGE THIS TO THE NAME OF YOUR DATABASE >:(
database: dsbn-resource-booking-development
username: postgres
password: 8da51afcea44ac125e97
host: 192.168.0.31
port: 5433

# The specified database role being used to connect to postgres.
# To create additional roles in postgres see `$ createuser --help`.
Expand Down Expand Up @@ -59,7 +65,11 @@ development:
# Do not set this db to the same as development or production.
test:
<<: *default
database: backend_test
database: dsbn-resource-booking-test
username: postgres
password: 8da51afcea44ac125e97
host: 192.168.0.31
port: 5432

# As with config/credentials.yml, you never want to store sensitive information,
# like your database password, in your source code. If your source code is
Expand All @@ -83,6 +93,9 @@ test:
#
production:
<<: *default
database: backend_production
username: backend
database: dsbn-resource-booking
username: postgres
password: 8da51afcea44ac125e97
host: 192.168.0.31
port: 5432
password: <%= ENV["BACKEND_DATABASE_PASSWORD"] %>

1 comment on commit 6775d55

@vercel
Copy link

@vercel vercel bot commented on 6775d55 Jul 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.