9 lines
179 B
Ruby
9 lines
179 B
Ruby
|
class UpdateAssginToId < ActiveRecord::Migration
|
||
|
def up
|
||
|
Issue.find_by_sql("update `issues` set assigned_to_id = null where assigned_to_id = 0;")
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
end
|
||
|
end
|