gitlab-org--gitlab-foss/db/migrate/20200519115908_add_epics_confidential_index.rb

18 lines
322 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddEpicsConfidentialIndex < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
add_concurrent_index :epics, :confidential
end
def down
remove_concurrent_index :epics, :confidential
end
end