NathanielWroblewski / prop

Prop is a Rails 4 app generator with customized defaults and an opinionated workflow.
https://rubygems.org/gems/prop_up
MIT License
5 stars 4 forks source link

rake db:reset #25

Closed fab closed 10 years ago

fab commented 10 years ago

rake db:reset should run the following commands all at once:

rake db:drop rake db:create rake db:migrate

13tjc commented 10 years ago

how do you undo a rake db:reset

fab commented 10 years ago

I don't know if you can undo it but I feel as though what I've asked for already exists with rake db:migrate:reset.

fab commented 10 years ago

Actually, it sounds like rake db:reset will already work with Rails out of the box: http://stackoverflow.com/questions/10301794/difference-between-rake-dbmigrate-dbreset-and-dbschemaload

ysadka commented 10 years ago

Looks like this has been taken care of. Closing issue @fab