osem-fcy/config/database.yml.heroku
Henne Vogelsang a3dd8e6c95 Use config/database.yml for ClearDB config
If we use .env heroku neither sees DATABASE_URL nor
config/database.yml and assumes we use postgre. There
also is no need to load the rails env in the task.
2016-05-25 16:49:56 +02:00

2 lines
78 B
Text

production:
url: <%= ENV["CLEARDB_DATABASE_URL"].sub(/^mysql/, "mysql2") %>