diff options
Diffstat (limited to 'db/post_migrate/20200207184023_add_temporary_index_to_promotion_notes.rb')
-rw-r--r-- | db/post_migrate/20200207184023_add_temporary_index_to_promotion_notes.rb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/db/post_migrate/20200207184023_add_temporary_index_to_promotion_notes.rb b/db/post_migrate/20200207184023_add_temporary_index_to_promotion_notes.rb deleted file mode 100644 index 44a32938483..00000000000 --- a/db/post_migrate/20200207184023_add_temporary_index_to_promotion_notes.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -# See http://doc.gitlab.com/ce/development/migration_style_guide.html -# for more information on how to write migrations for GitLab. - -class AddTemporaryIndexToPromotionNotes < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_concurrent_index :notes, - :note, - where: "noteable_type = 'Issue' AND system IS TRUE AND note LIKE 'promoted to epic%'", - name: 'tmp_idx_on_promoted_notes' - end - - def down - # NO OP - end -end |