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

20160920160832_add_index_to_labels_title.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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