Skip to content

Commit d886f4d

Browse files
committed
use different DBs in prod
1 parent 561d220 commit d886f4d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

config/database.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,22 @@ production:
8686
primary:
8787
<<: *default
8888
url: <%= ENV['DATABASE_URL'] %>
89+
database: flavortown_production
8990

9091
cache:
9192
<<: *default
9293
url: <%= ENV['DATABASE_URL'] %>
9394
migrations_paths: db/cache_migrate
95+
database: flavortown_cache
9496

9597
queue:
9698
<<: *default
9799
url: <%= ENV['SOLID_DATABASE_URL'] %>
98100
migrations_paths: db/queue_migrate
101+
database: flavortown_queue
99102

100103
cable:
101104
<<: *default
102105
url: <%= ENV['DATABASE_URL'] %>
103-
migrations_paths: db/cable_migrate
106+
migrations_paths: db/cable_migrate
107+
database: flavortown_cable

0 commit comments

Comments
 (0)