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

20180306074045_migrate_create_trace_artifact_sidekiq_queue.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fc74f6f17125395cf566bf14c49acca27af34c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class MigrateCreateTraceArtifactSidekiqQueue < ActiveRecord::Migration[4.2]
  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