gitlab-org--gitlab-foss/db/migrate/20150324155957_set_incorrec...

8 lines
258 B
Ruby
Raw Normal View History

# rubocop:disable all
2015-03-24 16:00:56 +00:00
class SetIncorrectAssigneeIdToNull < ActiveRecord::Migration
def up
execute "UPDATE issues SET assignee_id = NULL WHERE assignee_id = -1"
execute "UPDATE merge_requests SET assignee_id = NULL WHERE assignee_id = -1"
end
end