16 lines
403 B
Ruby
16 lines
403 B
Ruby
# frozen_string_literal: true
|
|
|
|
class MigrateCoverageReportWorker < ActiveRecord::Migration[6.0]
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
DOWNTIME = false
|
|
|
|
def up
|
|
sidekiq_queue_migrate 'ci_pipelines_create_artifact', to: 'ci_pipeline_artifacts_coverage_report'
|
|
end
|
|
|
|
def down
|
|
sidekiq_queue_migrate 'ci_pipeline_artifacts_coverage_report', to: 'ci_pipelines_create_artifact'
|
|
end
|
|
end
|