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/20201210175044_add_index_to_snippet_on_project_id.rb')
-rw-r--r--db/migrate/20201210175044_add_index_to_snippet_on_project_id.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20201210175044_add_index_to_snippet_on_project_id.rb b/db/migrate/20201210175044_add_index_to_snippet_on_project_id.rb
deleted file mode 100644
index 6de4a840409..00000000000
--- a/db/migrate/20201210175044_add_index_to_snippet_on_project_id.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToSnippetOnProjectId < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
- INDEX_NAME = "index_snippet_on_id_and_project_id"
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index :snippets, [:id, :project_id], name: INDEX_NAME
- end
-
- def down
- remove_concurrent_index_by_name :snippets, INDEX_NAME
- end
-end