blob: 9bd23c1d3d97a589c8477ca1a13cec5b5fb78e64 (
plain) (
blame)
1
2
3
4
5
6
7
|
class AddIndexNotificationsOnType < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :notifications, [:account_id, :id, :type], order: { id: :desc }, algorithm: :concurrently
end
end
|