mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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.
2 lines
78 B
Text
2 lines
78 B
Text
production:
|
|
url: <%= ENV["CLEARDB_DATABASE_URL"].sub(/^mysql/, "mysql2") %>
|