Heroku

Heroku Rails Receipes

Running a migration

heroku run rake db:migrate

Clearing a PG database on heroku

heroku pg:reset DATABASE
WARNING: Destructive action
postgresql-flexible-10203 will lose all of its data

To proceed, type stocktips or re-run this command with –confirm stocktips

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.