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
a0e7fc28
Commit
a0e7fc28
authored
Jun 22, 2020
by
Francisco Javier López
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add snippets_size to ProjectStatistics
parent
570ddb1c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
changelogs/unreleased/fj-223703-add-snippets-size-to-project-statistics.yml
...sed/fj-223703-add-snippets-size-to-project-statistics.yml
+5
-0
db/migrate/20200622095419_add_snippets_size_to_project_statistics.rb
...20200622095419_add_snippets_size_to_project_statistics.rb
+9
-0
db/structure.sql
db/structure.sql
+3
-1
No files found.
changelogs/unreleased/fj-223703-add-snippets-size-to-project-statistics.yml
0 → 100644
View file @
a0e7fc28
---
title
:
Add snippets_size to ProjectStatistics
merge_request
:
35017
author
:
type
:
added
db/migrate/20200622095419_add_snippets_size_to_project_statistics.rb
0 → 100644
View file @
a0e7fc28
# frozen_string_literal: true
class
AddSnippetsSizeToProjectStatistics
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
change
add_column
:project_statistics
,
:snippets_size
,
:bigint
end
end
db/structure.sql
View file @
a0e7fc28
...
...
@@ -5455,7 +5455,8 @@ CREATE TABLE public.project_statistics (
shared_runners_seconds
bigint
DEFAULT
0
NOT
NULL
,
shared_runners_seconds_last_reset
timestamp
without
time
zone
,
packages_size
bigint
DEFAULT
0
NOT
NULL
,
wiki_size
bigint
wiki_size
bigint
,
snippets_size
bigint
);
CREATE
SEQUENCE
public
.
project_statistics_id_seq
...
...
@@ -14117,6 +14118,7 @@ COPY "schema_migrations" (version) FROM STDIN;
20200618134723
20200619154527
20200619154528
20200622095419
20200622103836
20200622235737
20200623000148
...
...
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