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