Chatwoot/db/migrate/20200311083854_add_index_to_message.rb

8 lines
184 B
Ruby
Raw Permalink Normal View History

class AddIndexToMessage < ActiveRecord::Migration[6.0]
def change
add_index :messages, :account_id
add_index :messages, :inbox_id
add_index :messages, :user_id
end
end