Merge branch 'develop' of https://git.trustie.net/jacknudt/trustieforge into develop

This commit is contained in:
huang 2016-11-11 16:10:20 +08:00
commit e544b04f6f
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
class UpdateFixedVersionId < ActiveRecord::Migration
def up
Issue.find_by_sql("update `issues` set fixed_version_id = null where fixed_version_id = 0;")
Issue.where(:fixed_version_id => 0).update_all(:fixed_version_id => nil)
end
def down