File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -84,15 +84,19 @@ production:
8484 database : jbakerdev_production
8585 username : jbakerdev
8686 password : <%= ENV["JBAKERDEV_DATABASE_PASSWORD"] %>
87+ url : <%= ENV["DATABASE_URL"] %>
8788 cache :
8889 << : *primary_production
8990 database : jbakerdev_production_cache
9091 migrations_paths : db/cache_migrate
92+ url : <%= URI.parse(ENV["DATABASE_URL"]).tap { |url| url.path += "_cache" } if ENV["DATABASE_URL"] %>
9193 queue :
9294 << : *primary_production
9395 database : jbakerdev_production_queue
9496 migrations_paths : db/queue_migrate
97+ url : <%= URI.parse(ENV["DATABASE_URL"]).tap { |url| url.path += "_queue" } if ENV["DATABASE_URL"] %>
9598 cable :
9699 << : *primary_production
97100 database : jbakerdev_production_cable
98101 migrations_paths : db/cable_migrate
102+ url : <%= URI.parse(ENV["DATABASE_URL"]).tap { |url| url.path += "_cable" } if ENV["DATABASE_URL"] %>
You can’t perform that action at this time.
0 commit comments