gitlab-org--gitlab-foss/db/post_migrate/20171213160445_migrate_gith...

17 lines
505 B
Ruby
Raw Normal View History

2017-12-13 15:14:49 +00:00
# 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]
2017-12-13 15:14:49 +00:00
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