summaryrefslogtreecommitdiff
path: root/db/migrate/20160920160832_add_index_to_labels_title.rb
blob: b5de552b98cfb3e76e410f6bd089bdd65837fe82 (plain)
1
2
3
4
5
6
7
8
9
10
11
class AddIndexToLabelsTitle < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  def change
    add_concurrent_index :labels, :title
  end
end