diff options
Diffstat (limited to 'db/post_migrate/20211026070408_backfill_issue_search_data.rb')
-rw-r--r-- | db/post_migrate/20211026070408_backfill_issue_search_data.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/db/post_migrate/20211026070408_backfill_issue_search_data.rb b/db/post_migrate/20211026070408_backfill_issue_search_data.rb deleted file mode 100644 index a2cf7b36a59..00000000000 --- a/db/post_migrate/20211026070408_backfill_issue_search_data.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -class BackfillIssueSearchData < Gitlab::Database::Migration[1.0] - disable_ddl_transaction! - - MIGRATION = 'BackfillIssueSearchData' - - def up - queue_batched_background_migration( - MIGRATION, - :issues, - :id, - batch_size: 100_000, - sub_batch_size: 1_000, - job_interval: 5.minutes - ) - end - - def down - delete_batched_background_migration(MIGRATION, :issues, :id, []) - end -end |