9 lines
149 B
Ruby
9 lines
149 B
Ruby
|
class UpdateCourseLead < ActiveRecord::Migration
|
||
|
def up
|
||
|
Message.where("status =? ", 1).update_all(:author_id => 1)
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
end
|
||
|
end
|