2021-06-11 18:10:13 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class RenameSyncSecurityReportApprovalRulesSidekiqQueue < ActiveRecord::Migration[6.0]
|
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def up
|
2021-06-29 09:08:03 +00:00
|
|
|
sidekiq_queue_migrate 'sync_security_reports_to_report_approval_rules', to: 'ci_sync_reports_to_report_approval_rules' # rubocop:disable Migration/SidekiqQueueMigrate
|
2021-06-11 18:10:13 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
2021-06-29 09:08:03 +00:00
|
|
|
sidekiq_queue_migrate 'ci_sync_reports_to_report_approval_rules', to: 'sync_security_reports_to_report_approval_rules' # rubocop:disable Migration/SidekiqQueueMigrate
|
2021-06-11 18:10:13 +00:00
|
|
|
end
|
|
|
|
end
|