Chatwoot/db/migrate/20210723094412_add_index_to_conversations.rb

7 lines
195 B
Ruby
Raw Permalink Normal View History

class AddIndexToConversations < ActiveRecord::Migration[6.0]
def change
add_index :conversations, [:status, :account_id]
add_index :conversations, [:assignee_id, :account_id]
end
end