fix mysql migration
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
class AddEmailEventsDateIndex < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
remove_index :email_events, :account_id
|
||||
add_index :email_events, %i[account_id event_datetime]
|
||||
remove_index :email_events, :account_id
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user