using SQL in rails migration
snippet in sql

using SQL in rails migration

user4501

def change
  execute <<-SQL
    UPDATE table1
    SET column1 = "value"
  SQL
end