socialforge/db/migrate/20161121091826_modify_fixed...

9 lines
167 B
Ruby

class ModifyFixedVersionId < ActiveRecord::Migration
def up
Issue.where(:fixed_version_id => 0).update_all(:fixed_version_id => nil)
end
def down
end
end