edit a migration ruby code example
Example 1: rails rollback multiple migrations
rake db:rollback STEP=n
# n = how many migrations you want to rollback
Example 2: using SQL in rails migration
def change
execute <<-SQL
UPDATE table1
SET column1 = "value"
SQL
end