Skip to content

Commit 5c532af

Browse files
authored
another try (#228)
2 parents 1958cb5 + 729254b commit 5c532af

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

config/database.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,21 +93,15 @@ test:
9393
#
9494
production:
9595
primary:
96-
<<: *default
97-
database: skillrx_production
98-
username: skillrx
99-
password: <%= ENV["SKILLRX_DATABASE_PASSWORD"] %>
100-
cache:
101-
<<: *default
102-
database: sklillrx_production_cache
103-
migrations_paths: db/cache_migrate
96+
url: <%= ENV['DATABASE_URL'] %>
10497
queue:
105-
<<: *default
106-
database: skillrx_production_queue
98+
url: <%= ENV['SKILLRX_QUEUE_DATABASE_URL'] %>
10799
migrations_paths: db/queue_migrate
100+
cache:
101+
url: <%= ENV['SKILLRX_CACHE_DATABASE_URL'] %>
102+
migrations_paths: db/cache_migrate
108103
cable:
109-
<<: *default
110-
database: skillrx_production_cable
104+
url: <%= ENV['SKILLRX_CABLE_DATABASE_URL'] %>
111105
migrations_paths: db/cable_migrate
112106

113107
staging:

0 commit comments

Comments
 (0)