#Roll back 3 migrations and migrate back to current version.
rake db:migrate:redo STEP=3
Tuesday, December 18, 2007
rake db:migrate:redo
Nice new rake command to rollback one migration and migrate back up. If you need to go further than one step back pass the STEP=x parameter.
Labels:
Quick Tips,
RubyOnRails
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment