We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3941567 commit b93763eCopy full SHA for b93763e
config/blazer.yml
@@ -2,7 +2,7 @@
2
3
data_sources:
4
main:
5
- url: <%= ENV["BLAZER_DATABASE_URL"]&.sub("mysql://", "mysql2://") %>
+ url: <%= (ENV["BLAZER_DATABASE_URL"].presence || ENV["DATABASE_URL"].presence)&.sub("mysql://", "mysql2://") %>
6
7
# statement timeout, in seconds
8
# none by default
0 commit comments