Chatwoot/db/migrate/20210723095657_add_index_to_contacts.rb

5 lines
133 B
Ruby

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