diff options
author | Peter Leitzen <pleitzen@gitlab.com> | 2019-05-13 17:38:58 +0300 |
---|---|---|
committer | Peter Leitzen <pleitzen@gitlab.com> | 2019-05-13 17:48:26 +0300 |
commit | 6a2510d99c416137ef10567796cac85b3de95472 (patch) | |
tree | 1d5b87258d2315bb6fbdfc2b6b82c7ef4cdb09bc | |
parent | 26ee5c0599936e4f8660aa2f37c01e601098e38e (diff) |
Remove duplicate definition of DOWNTIME
This silences the warning:
20190301081611_migrate_project_migrate_sidekiq_queue.rb:8:
warning: already initialized constant
MigrateProjectMigrateSidekiqQueue::DOWNTIME
-rw-r--r-- | db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb b/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb index 6af7902e0c4..46108d142b5 100644 --- a/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb +++ b/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb @@ -5,8 +5,6 @@ class MigrateProjectMigrateSidekiqQueue < ActiveRecord::Migration[5.0] DOWNTIME = false - DOWNTIME = false - def up sidekiq_queue_migrate 'project_migrate_hashed_storage', to: 'hashed_storage:hashed_storage_project_migrate' end |