Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20171213160445_migrate_github_importer_advance_stage_sidekiq_queue.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 149c28f194653d13a272565fed0eba58312f0807 (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
  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