rails redo last migration
rake db:rollback STEP=n
# n = how many migrations you want to rollback
4
7
rake db:migrate:redo STEP=n
Thank you!
7
0
3.89
10
rake db:rollback VERSION=n
# n = the version you want to rollback to
Thank you!
10
0
Are there any code examples left?
New code examples in category Ruby