summaryrefslogtreecommitdiff
path: root/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb
blob: 6af7902e0c4db8bb7f2f64cd29e697ef08b35848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

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

  DOWNTIME = false

  DOWNTIME = false

  def up
    sidekiq_queue_migrate 'project_migrate_hashed_storage', to: 'hashed_storage:hashed_storage_project_migrate'
  end

  def down
    sidekiq_queue_migrate 'hashed_storage:hashed_storage_project_migrate', to: 'project_migrate_hashed_storage'
  end
end