summaryrefslogtreecommitdiff
path: root/db/migrate/20140730111702_add_index_to_labels.rb
blob: cc7ac1fc449cf3fa27112936f6cf1386b562865d (plain)
1
2
3
4
5
6
7
8
# rubocop:disable all
class AddIndexToLabels < ActiveRecord::Migration
  def change
    add_index "labels", :project_id
    add_index "label_links", :label_id
    add_index "label_links", [:target_id, :target_type]
  end
end