Chatwoot/db/migrate/20210723095657_add_index_to_contacts.rb

6 lines
133 B
Ruby
Raw Permalink Normal View History

class AddIndexToContacts < ActiveRecord::Migration[6.0]
def change
add_index :contacts, [:phone_number, :account_id]
end
end