Chatwoot/db/migrate/20200310070540_add_index_to_event.rb

10 lines
240 B
Ruby
Raw Permalink Normal View History

class AddIndexToEvent < ActiveRecord::Migration[6.0]
def change
add_index :events, :name
add_index :events, :created_at
add_index :events, :account_id
add_index :events, :inbox_id
add_index :events, :user_id
end
end