Remove Gitlab::BackgroundMigration exxxplicit namespaces from migration classes
This commit is contained in:
parent
321e580ede
commit
2eaef5b3a9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue