Skip to content

Commit

Permalink
Fixed database config
Browse files Browse the repository at this point in the history
  • Loading branch information
PivtoranisV committed Nov 25, 2024
1 parent aff531c commit 5737f0f
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ development:
test:
<<: *default
database: private_events_test

# 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
# ever seen by anyone, they now have access to your database.
Expand All @@ -80,18 +79,5 @@ test:
# for a full overview on how database connection configuration can be specified.
#
production:
primary:
<<: *default
database: <%= ENV["DATABASE_URL"] %>
cache:
<<: *primary
database: private_events_production_cache
migrations_paths: db/cache_migrate
queue:
<<: *primary
database: private_events_production_queue
migrations_paths: db/queue_migrate
cable:
<<: *primary
database: private_events_production_cable
migrations_paths: db/cable_migrate
<<: *default
database: private_events_production

0 comments on commit 5737f0f

Please sign in to comment.