11 lines
183 B
Ruby
11 lines
183 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
|