Thursday, March 12, 2009

Rails migration

Migrate
rake db:migrate

Rolling back
rake db:rollback

Rolling back 3 steps
rake db:rollback STEP=3

No comments: