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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f50dcb09
Commit
f50dcb09
authored
Apr 08, 2022
by
Vijay Hawoldar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add enable_lock_retries to migration
parent
56c0aa26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
db/migrate/20220404114106_add_container_registry_size_to_project_statistics.rb
...4106_add_container_registry_size_to_project_statistics.rb
+2
-0
No files found.
db/migrate/20220404114106_add_container_registry_size_to_project_statistics.rb
View file @
f50dcb09
# frozen_string_literal: true
# frozen_string_literal: true
class
AddContainerRegistrySizeToProjectStatistics
<
Gitlab
::
Database
::
Migration
[
1.0
]
class
AddContainerRegistrySizeToProjectStatistics
<
Gitlab
::
Database
::
Migration
[
1.0
]
enable_lock_retries!
def
change
def
change
add_column
:project_statistics
,
:container_registry_size
,
:bigint
,
default:
0
,
null:
false
add_column
:project_statistics
,
:container_registry_size
,
:bigint
,
default:
0
,
null:
false
end
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