rails update table code example
Example 1: rails rollback multiple migrations
rake db:rollback STEP=n
# n = how many migrations you want to rollback
Example 2: see migration history rails
rake db:migrate:status
rake db:rollback STEP=n
# n = how many migrations you want to rollback
rake db:migrate:status