gitlab-org--gitlab-foss/db/migrate/20160920160832_add_index_to_labels_title.rb

12 lines
212 B
Ruby
Raw Normal View History

2016-09-20 12:32:51 -04:00
class AddIndexToLabelsTitle < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def change
add_concurrent_index :labels, :title
end
end