debian-mirror-gitlab/db/migrate/20140730111702_add_index_to_labels.rb
2018-12-23 12:14:25 +05:30

8 lines
230 B
Ruby

# 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