gitlab-org--gitlab-foss/db/migrate/20210816161107_remove_index_containing_faulty_regex.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
353 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RemoveIndexContainingFaultyRegex < ActiveRecord::Migration[6.1]
include Gitlab::Database::MigrationHelpers
INDEX_NAME = "tmp_index_merge_requests_draft_and_status"
disable_ddl_transaction!
def up
remove_concurrent_index_by_name :merge_requests, INDEX_NAME
end
def down
# noop
#
end
end