Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save firmanm/9474d492d9d9abb4494af6e45e4a9f38 to your computer and use it in GitHub Desktop.
Save firmanm/9474d492d9d9abb4494af6e45e4a9f38 to your computer and use it in GitHub Desktop.
Drop and Rebuild Heroku database
heroku pg:reset SHARED_DATABASE --confirm fasterfaster
heroku run rake db:migrate
heroku run console
Rails.cache.clear
heroku restart
- manually add one record to test
- run performance test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment