discourse/db/migrate/20180803085321_add_index_email_logs_on_bounced.rb
2023-01-09 11:59:41 +00:00

9 lines
207 B
Ruby

# frozen_string_literal: true
class AddIndexEmailLogsOnBounced < ActiveRecord::Migration[5.2]
def change
add_index :email_logs, :bounced
remove_index :email_logs, %i[user_id created_at]
end
end