Menggunakan SQL in Rails Migration
def change
execute <<-SQL
UPDATE table1
SET column1 = "value"
SQL
end
Captain CompileOnTheFirstTime
def change
execute <<-SQL
UPDATE table1
SET column1 = "value"
SQL
end