summaryrefslogtreecommitdiff
path: root/db/migrate/20180228115558_add_index_to_events.rb
blob: b12527e486b5b31d5d90ca445fa6716ba48cc693 (plain)
1
2
3
4
5
6
class AddIndexToEvents < ActiveRecord::Migration
  def change
    add_index :events, :participant_id, unique: false
    add_index :events, :message_id, unique: false
  end
end