class RemoveHasMutedFromUsers < ActiveRecord::Migration
  def change
    User.where(has_muted: true).each do |user|
      user.experienced!("threadMuted")
    end
    remove_column :users, :has_muted, :boolean
  end
end

class RemoveHasMutedFromUsers < ActiveRecord::Migration
  def change
    User.where(has_muted: true).each do |user|
      user.experienced!("mutingThread")
    end
    remove_column :users, :has_muted, :boolean
  end
end

Change migration to muting thread
Change migration to muting thread
