Commit 6a2510d9 authored by Peter Leitzen's avatar Peter Leitzen

Remove duplicate definition of DOWNTIME

This silences the warning:

  20190301081611_migrate_project_migrate_sidekiq_queue.rb:8:
  warning: already initialized constant
    MigrateProjectMigrateSidekiqQueue::DOWNTIME
parent 26ee5c05
...@@ -5,8 +5,6 @@ class MigrateProjectMigrateSidekiqQueue < ActiveRecord::Migration[5.0] ...@@ -5,8 +5,6 @@ class MigrateProjectMigrateSidekiqQueue < ActiveRecord::Migration[5.0]
DOWNTIME = false DOWNTIME = false
DOWNTIME = false
def up def up
sidekiq_queue_migrate 'project_migrate_hashed_storage', to: 'hashed_storage:hashed_storage_project_migrate' sidekiq_queue_migrate 'project_migrate_hashed_storage', to: 'hashed_storage:hashed_storage_project_migrate'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment