Set existing new_discussion event sequence ids to nil
user
```ruby
class FixNewDiscussionSequences < ActiveRecord::Migration
  def up
    Event.where('kind = ? AND sequence_id IS NOT NULL', :new_discussion).update_all(sequence_id: nil)
  end
end
```
assistant