gitlab-org--gitlab-foss/db/migrate/20220520030504_drop_index_namespaces_on_name.rb

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

16 lines
295 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class DropIndexNamespacesOnName < Gitlab::Database::Migration[2.0]
disable_ddl_transaction!
INDEX_NAME = 'index_namespaces_on_name'
def up
remove_concurrent_index_by_name :namespaces, INDEX_NAME, if_exists: true
end
def down
# no-op
end
end