Commit 2eaef5b3 authored by Shinya Maeda's avatar Shinya Maeda

Remove Gitlab::BackgroundMigration exxxplicit namespaces from migration classes

parent 321e580e
......@@ -10,8 +10,8 @@ module Gitlab
end
def perform(start_id, stop_id)
Gitlab::BackgroundMigration::FillFileStoreJobArtifact::JobArtifact
.where('file_store is NULL')
FillFileStoreJobArtifact::JobArtifact
.where(file_store: nil)
.where(id: (start_id..stop_id))
.update_all(file_store: 1)
end
......
......@@ -10,8 +10,8 @@ module Gitlab
end
def perform(start_id, stop_id)
Gitlab::BackgroundMigration::FillFileStoreLfsObject::LfsObject
.where('file_store is NULL')
FillFileStoreLfsObject::LfsObject
.where(file_store: nil)
.where(id: (start_id..stop_id))
.update_all(file_store: 1)
end
......
......@@ -11,8 +11,8 @@ module Gitlab
end
def perform(start_id, stop_id)
Gitlab::BackgroundMigration::FillStoreUpload::Upload
.where('store is NULL')
FillStoreUpload::Upload
.where(store: nil)
.where(id: (start_id..stop_id))
.update_all(store: 1)
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