Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20121203154450_add_events_indices.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 502a2ccbcdab0bba3d23b38873d18ae7071e9be9 (plain)
1
2
3
4
5
6
7
8
class AddEventsIndices < ActiveRecord::Migration
  def change
    add_index :events, :project_id
    add_index :events, :author_id
    add_index :events, :action
    add_index :events, :target_type
  end
end