diff options
Diffstat (limited to 'db/post_migrate/20210914094840_add_gin_index_on_pending_builds_namespace_traversal_ids.rb')
-rw-r--r-- | db/post_migrate/20210914094840_add_gin_index_on_pending_builds_namespace_traversal_ids.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/db/post_migrate/20210914094840_add_gin_index_on_pending_builds_namespace_traversal_ids.rb b/db/post_migrate/20210914094840_add_gin_index_on_pending_builds_namespace_traversal_ids.rb deleted file mode 100644 index 3584c7136e3..00000000000 --- a/db/post_migrate/20210914094840_add_gin_index_on_pending_builds_namespace_traversal_ids.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -class AddGinIndexOnPendingBuildsNamespaceTraversalIds < Gitlab::Database::Migration[1.0] - disable_ddl_transaction! - - INDEX_NAME = 'index_gin_ci_pending_builds_on_namespace_traversal_ids' - - def up - add_concurrent_index :ci_pending_builds, :namespace_traversal_ids, name: INDEX_NAME, using: :gin - end - - def down - remove_concurrent_index_by_name :ci_pending_builds, INDEX_NAME - end -end |