Merge branch 'develop' of https://git.trustie.net/jacknudt/trustieforge into develop
This commit is contained in:
commit
e544b04f6f
|
@ -1,6 +1,6 @@
|
||||||
class UpdateFixedVersionId < ActiveRecord::Migration
|
class UpdateFixedVersionId < ActiveRecord::Migration
|
||||||
def up
|
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
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
|
|
Loading…
Reference in New Issue