diff options
author | Micaël Bergeron <mbergeron@gitlab.com> | 2018-03-30 15:38:56 +0300 |
---|---|---|
committer | Micaël Bergeron <mbergeron@gitlab.com> | 2018-03-30 15:39:12 +0300 |
commit | 316eb6ef60f00f47ab6ce0e6e24f88de9ac149eb (patch) | |
tree | 8f49a0130952945195c4c8b67d80569789799ee7 /lib/tasks | |
parent | 153dfda3a28048acee5be9795abdd073f5e6aae6 (diff) |
apply feedback
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/uploads/migrate.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/uploads/migrate.rake b/lib/tasks/gitlab/uploads/migrate.rake index f0f4acd6140..e7e656a911b 100644 --- a/lib/tasks/gitlab/uploads/migrate.rake +++ b/lib/tasks/gitlab/uploads/migrate.rake @@ -25,7 +25,7 @@ namespace :gitlab do Upload.class_eval { include EachBatch } unless Upload < EachBatch Upload - .where(store: [nil, 1], + .where(store: [nil, ObjectStorage::Store::LOCAL], uploader: @uploader_class.to_s, model_type: @model_class.base_class.sti_name) end |