debian-mirror-gitlab/db/migrate/20160920160832_add_index_to_labels_title.rb

12 lines
212 B
Ruby
Raw Normal View History

2016-11-03 12:29:30 +05:30
class AddIndexToLabelsTitle < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def change
add_concurrent_index :labels, :title
end
end