-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Talk A Little About DATABASE_URL? #1
Comments
Looks to me like the recommendation for using adapter: sqlserver
pool: 5
timeout: 5000
encoding: utf-8
production:
<<: *default
azure: true
url: sqlserver://username:[email protected]:1433/database_name where
azure: config[:azure] and someone posted
#!/usr/bin/env bash
# $1 should be environment
# $2 should be branch
# set database url
heroku config:set DATABASE_URL=`heroku config -r $1 | grep -o "\(sqlserver..*\)" | head -n1` -r $1
# push code
git push $1 $2:master
# roll back database url setting
heroku config:unset DATABASE_URL -r $1
# run migations
heroku run rake db:migrate -r $1 |
I just saw this thread on the adapter and I wonder if it would help to have a small section in the README to talk about DABASE_URL?
rails-sqlserver/activerecord-sqlserver-adapter#497 (comment)
The text was updated successfully, but these errors were encountered: