socialforge/db/migrate/20160317070611_update_cours...

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