Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20211004075629_add_topics_name_gin_index.rb')
-rw-r--r--db/migrate/20211004075629_add_topics_name_gin_index.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/db/migrate/20211004075629_add_topics_name_gin_index.rb b/db/migrate/20211004075629_add_topics_name_gin_index.rb
deleted file mode 100644
index 94634a4cb2f..00000000000
--- a/db/migrate/20211004075629_add_topics_name_gin_index.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddTopicsNameGinIndex < Gitlab::Database::Migration[1.0]
- INDEX_NAME = 'index_topics_on_name_trigram'
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index :topics, :name, name: INDEX_NAME, using: :gin, opclass: { name: :gin_trgm_ops }
- end
-
- def down
- remove_concurrent_index_by_name :topics, INDEX_NAME
- end
-end