debian-mirror-gitlab/db/migrate/20160920160832_add_index_to_labels_title.rb
2016-11-03 12:29:30 +05:30

11 lines
212 B
Ruby

class AddIndexToLabelsTitle < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def change
add_concurrent_index :labels, :title
end
end