socialforge/db/migrate/20161111064007_update_assgi...

9 lines
159 B
Ruby
Raw Normal View History

2016-11-11 14:50:49 +08:00
class UpdateAssginToId < ActiveRecord::Migration
def up
2016-11-11 15:35:18 +08:00
Issue.where(:assigned_to_id => 0).update_all(:assigned_to_id => nil)
2016-11-11 14:50:49 +08:00
end
def down
end
end