Created
April 20, 2015 19:03
-
-
Save mdmartinez/47516b225de5b4536768 to your computer and use it in GitHub Desktop.
Heroku Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # runs console for AR queries | |
| heroku run console --app gamefinder | |
| # runs psql environment | |
| heroku pg:psql -a gamefinder | |
| # gives you config environment variables | |
| heroku config -a gamefinder | |
| # resets database on heroku | |
| heroku pg:reset HEROKU_POSTGRESQL_WHITE_URL -a gamefinder | |
| # migrates database | |
| heroku run rake db:migrate -a gamefinder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment