Skip to content

Instantly share code, notes, and snippets.

@fdocr
Created July 22, 2019 07:52
Show Gist options
  • Select an option

  • Save fdocr/d78d0a0b470420db6118c2dc532a26ce to your computer and use it in GitHub Desktop.

Select an option

Save fdocr/d78d0a0b470420db6118c2dc532a26ce to your computer and use it in GitHub Desktop.
```
heroku restart -a APP_NAME
heroku pg:reset -a APP_NAME DATABASE --confirm=APP_NAME
heroku run rake db:migrate -a APP_NAME
heroku run rake db:seed -a APP_NAME
```
One liner:
`heroku restart -a APP_NAME; heroku pg:reset -a APP_NAME DATABASE --confirm=APP_NAME; heroku run rake db:migrate -a APP_NAME; heroku run rake db:seed -a APP_NAME`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment