add index_notifications_on_id_and_account_id_and_activity_type on notifications table (#4750)
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
class AddIndexIdAccountIdActivityTypeOnNotifications < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
add_index :notifications, [:id, :account_id, :activity_type], order: { id: :desc }
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user