2019-01-03 12:48:30 +05:30
|
|
|
class MigrateCreateTraceArtifactSidekiqQueue < ActiveRecord::Migration
|
2018-03-27 19:54:05 +05:30
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def up
|
|
|
|
sidekiq_queue_migrate 'pipeline_default:create_trace_artifact', to: 'pipeline_background:archive_trace'
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
sidekiq_queue_migrate 'pipeline_background:archive_trace', to: 'pipeline_default:create_trace_artifact'
|
|
|
|
end
|
|
|
|
end
|