debian-mirror-gitlab/db/migrate/20140730111702_add_index_to_labels.rb

9 lines
230 B
Ruby
Raw Normal View History

# rubocop:disable all
2019-02-15 15:39:39 +05:30
class AddIndexToLabels < ActiveRecord::Migration[4.2]
2014-09-02 18:07:02 +05:30
def change
add_index "labels", :project_id
add_index "label_links", :label_id
add_index "label_links", [:target_id, :target_type]
end
end