debian-mirror-gitlab/db/post_migrate/20181219145520_migrate_cluster_configure_worker_sidekiq_queue.rb
2019-02-15 15:39:39 +05:30

16 lines
421 B
Ruby

# 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