socialforge/db/migrate/20141031065238_change_data_...

11 lines
193 B
Ruby

#encoding=UTF-8
class ChangeDataForCourses < ActiveRecord::Migration
def up
sql = "UPDATE courses set school_id = 117 where id =58"
execute(sql)
end
def down
end
end