mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-01 14:54:42 +08:00
8 lines
207 B
Ruby
8 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
|