提交次数默认值为空的数据处理
This commit is contained in:
parent
733c65d7fd
commit
20d550e755
|
@ -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
|
2022
db/schema.rb
2022
db/schema.rb
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue