socialforge/db/migrate/20160114131753_default_chan...

10 lines
186 B
Ruby

class DefaultChangeset < ActiveRecord::Migration
def up
pss = ProjectScore.where("changeset_num is ?", nil)
pss.update_all(:changeset_num => false)
end
def down
end
end