diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-05-18 11:04:05 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-05-28 08:50:10 +0300 |
commit | 321e580eded961d4de1570d2dd24e8140b0e1b77 (patch) | |
tree | 3254b161c5cc377e7578fe5a53ea45af0c55ff1f /lib | |
parent | 26b3816d747a6527c4b1382891f36e8f2b31bae1 (diff) |
Rename FillFileStoreUpload to FillStoreUpload
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/background_migration/fill_store_upload.rb (renamed from lib/gitlab/background_migration/fill_file_store_upload.rb) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/background_migration/fill_file_store_upload.rb b/lib/gitlab/background_migration/fill_store_upload.rb index 203c3cea09f..669a9351fb4 100644 --- a/lib/gitlab/background_migration/fill_file_store_upload.rb +++ b/lib/gitlab/background_migration/fill_store_upload.rb @@ -4,14 +4,14 @@ module Gitlab module BackgroundMigration - class FillFileStoreUpload + class FillStoreUpload class Upload < ActiveRecord::Base self.table_name = 'uploads' self.inheritance_column = :_type_disabled end def perform(start_id, stop_id) - Gitlab::BackgroundMigration::FillFileStoreUpload::Upload + Gitlab::BackgroundMigration::FillStoreUpload::Upload .where('store is NULL') .where(id: (start_id..stop_id)) .update_all(store: 1) |