gitlab-org--gitlab-foss/db/migrate/20160920160832_add_index_to...

12 lines
212 B
Ruby
Raw Normal View History

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