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

20140730111702_add_index_to_labels.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 21f9dfd5d47bde3d3ad7056e54e962d3156763da (plain)
1
2
3
4
5
6
7
8
# rubocop:disable all
class AddIndexToLabels < ActiveRecord::Migration[4.2]
  def change
    add_index "labels", :project_id
    add_index "label_links", :label_id
    add_index "label_links", [:target_id, :target_type]
  end
end