提交次数默认值为空的数据处理

This commit is contained in:
huang 2016-01-14 21:25:36 +08:00
parent 733c65d7fd
commit 20d550e755
2 changed files with 22 additions and 2027 deletions

View File

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

File diff suppressed because it is too large Load Diff