summaryrefslogtreecommitdiff
path: root/db/post_migrate/20171213160445_migrate_github_importer_advance_stage_sidekiq_queue.rb
blob: 088c4b5d46ba001a34eece568d3896fd64b5b9bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class MigrateGithubImporterAdvanceStageSidekiqQueue < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def up
    sidekiq_queue_migrate 'github_importer_advance_stage', to: 'github_import_advance_stage'
  end

  def down
    sidekiq_queue_migrate 'github_import_advance_stage', to: 'github_importer_advance_stage'
  end
end