You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/db/migrate/20250530080846_add_email_ev...

9 lines
218 B

# frozen_string_literal: true
class AddEmailEventsDateIndex < ActiveRecord::Migration[8.0]
def change
add_index :email_events, %i[account_id event_datetime]
remove_index :email_events, :account_id
end
end