Merge branch 'develop' into 'develop'

迁移待审批的错误数据



See merge request !140
This commit is contained in:
黄井泉 2017-01-20 20:12:17 +08:00
commit a0a76b897f
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
class UpdateAppliedMessageStatus < ActiveRecord::Migration
def up
AppliedMessage.where(:applied_type => "ApplyAddSchools", :status => 0).update_all(:status => 1)
end
def down
end
end