summaryrefslogtreecommitdiff
path: root/db/post_migrate/20220920214524_remove_task_system_note_rename_temp_index.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-27 21:12:25 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-27 21:12:25 +0000
commitbce6d50b9c9a46521578add31072e282645c0f2c (patch)
tree23ac5ba8ec38898bb23ec8b2d12933fc17b10fa9 /db/post_migrate/20220920214524_remove_task_system_note_rename_temp_index.rb
parent3538972a0a6417e01f8e44c716d061520841cbce (diff)
downloadgitlab-ce-bce6d50b9c9a46521578add31072e282645c0f2c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/post_migrate/20220920214524_remove_task_system_note_rename_temp_index.rb')
-rw-r--r--db/post_migrate/20220920214524_remove_task_system_note_rename_temp_index.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/db/post_migrate/20220920214524_remove_task_system_note_rename_temp_index.rb b/db/post_migrate/20220920214524_remove_task_system_note_rename_temp_index.rb
index 54277aaa0cc..d3671d24578 100644
--- a/db/post_migrate/20220920214524_remove_task_system_note_rename_temp_index.rb
+++ b/db/post_migrate/20220920214524_remove_task_system_note_rename_temp_index.rb
@@ -1,15 +1,11 @@
# frozen_string_literal: true
class RemoveTaskSystemNoteRenameTempIndex < Gitlab::Database::Migration[2.0]
- disable_ddl_transaction!
-
- INDEX_NAME = 'tmp_index_system_note_metadata_on_id_where_task'
-
def up
- remove_concurrent_index_by_name :system_note_metadata, INDEX_NAME
+ # no-op
end
def down
- add_concurrent_index :system_note_metadata, [:id, :action], where: "action = 'task'", name: INDEX_NAME
+ # no-op
end
end