项目issue表数据迁移
This commit is contained in:
parent
812c74134a
commit
e8f1a388ef
|
@ -0,0 +1,8 @@
|
|||
class UpdateFixedVersionId < ActiveRecord::Migration
|
||||
def up
|
||||
Issue.find_by_sql("update `issues` set fixed_version_id = null where fixed_version_id = 0;")
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue