0
Q:

rails db:rollback

rake db:rollback STEP=n 
# n = how many migrations you want to rollback
3
bin/rails db:migrate:down VERSION=YYYYMMDDHHMMSS
0
rake db:rollback VERSION=n
# n = the version you want to rollback to
-1

New to Communities?

Join the community