Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
2eaef5b3
Commit
2eaef5b3
authored
May 22, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Gitlab::BackgroundMigration exxxplicit namespaces from migration classes
parent
321e580e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
lib/gitlab/background_migration/fill_file_store_job_artifact.rb
...tlab/background_migration/fill_file_store_job_artifact.rb
+2
-2
lib/gitlab/background_migration/fill_file_store_lfs_object.rb
...gitlab/background_migration/fill_file_store_lfs_object.rb
+2
-2
lib/gitlab/background_migration/fill_store_upload.rb
lib/gitlab/background_migration/fill_store_upload.rb
+2
-2
No files found.
lib/gitlab/background_migration/fill_file_store_job_artifact.rb
View file @
2eaef5b3
...
...
@@ -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
...
...
lib/gitlab/background_migration/fill_file_store_lfs_object.rb
View file @
2eaef5b3
...
...
@@ -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
...
...
lib/gitlab/background_migration/fill_store_upload.rb
View file @
2eaef5b3
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment