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

20230703024031_cleanup_project_pipeline_status_key.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cb7fc04166fb2bba4c3dc242fa208197a3c14666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class CleanupProjectPipelineStatusKey < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  MIGRATION_WORKER_CLASS = 'BackfillProjectPipelineStatusTtl'

  def up
    queue_redis_migration_job(MIGRATION_WORKER_CLASS)
  end

  def down
    # no-op
  end
end