summaryrefslogtreecommitdiff
path: root/db/post_migrate/20181219145520_migrate_cluster_configure_worker_sidekiq_queue.rb
blob: c37f8c039c06b1b68c07b2898fde5be0389c4352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class MigrateClusterConfigureWorkerSidekiqQueue < ActiveRecord::Migration[5.0]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def up
    sidekiq_queue_migrate 'gcp_cluster:cluster_platform_configure', to: 'gcp_cluster:cluster_configure'
  end

  def down
    sidekiq_queue_migrate 'gcp_cluster:cluster_configure', to: 'gcp_cluster:cluster_platform_configure'
  end
end