I accidentally deleted my production database on heroku cedar stack several months ago. I tried to recreate the db via heroku run rake db:migrate
, but something was wrong with my migrations and it failed. I then installed taps and did a heroku db:push
and all was right with the world.
Can I now use heroku run rake db:migrate
after running local migrations to update the production database, or am I forever tied to taps and heroku db:push
?
Perhaps a better way to ask this question: will heroku run rake db:migrate
go through all of my migrations (and likely fail), or will it only go through migrations that have occurred since the last heroku db:push
?