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
50d59402
Commit
50d59402
authored
Aug 25, 2020
by
Maxime Orefice
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pipeline_artifacts_size to root_storage_statistics
parent
cb6244c1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
1 deletion
+27
-1
changelogs/unreleased/mo-add-pipeline-artifacts-size-to-root-storage-statistics.yml
...dd-pipeline-artifacts-size-to-root-storage-statistics.yml
+5
-0
db/migrate/20200825180050_add_pipeline_artifacts_size_to_root_storage_statistics.rb
...add_pipeline_artifacts_size_to_root_storage_statistics.rb
+19
-0
db/schema_migrations/20200825180050
db/schema_migrations/20200825180050
+1
-0
db/structure.sql
db/structure.sql
+2
-1
No files found.
changelogs/unreleased/mo-add-pipeline-artifacts-size-to-root-storage-statistics.yml
0 → 100644
View file @
50d59402
---
title
:
Add pipeline_artifacts_size to root_storage_statistics
merge_request
:
40425
author
:
type
:
added
db/migrate/20200825180050_add_pipeline_artifacts_size_to_root_storage_statistics.rb
0 → 100644
View file @
50d59402
# frozen_string_literal: true
class
AddPipelineArtifactsSizeToRootStorageStatistics
<
ActiveRecord
::
Migration
[
6.0
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
up
with_lock_retries
do
add_column
:namespace_root_storage_statistics
,
:pipeline_artifacts_size
,
:bigint
,
default:
0
,
null:
false
end
end
def
down
with_lock_retries
do
remove_column
:namespace_root_storage_statistics
,
:pipeline_artifacts_size
,
:bigint
,
default:
0
,
null:
false
end
end
end
db/schema_migrations/20200825180050
0 → 100644
View file @
50d59402
330340ef4d525e1e13ed28d71d23594627453955ce5f810e370d07bb3623bf35
\ No newline at end of file
db/structure.sql
View file @
50d59402
...
@@ -13342,7 +13342,8 @@ CREATE TABLE public.namespace_root_storage_statistics (
...
@@ -13342,7 +13342,8 @@ CREATE TABLE public.namespace_root_storage_statistics (
build_artifacts_size
bigint
DEFAULT
0
NOT
NULL
,
build_artifacts_size
bigint
DEFAULT
0
NOT
NULL
,
storage_size
bigint
DEFAULT
0
NOT
NULL
,
storage_size
bigint
DEFAULT
0
NOT
NULL
,
packages_size
bigint
DEFAULT
0
NOT
NULL
,
packages_size
bigint
DEFAULT
0
NOT
NULL
,
snippets_size
bigint
DEFAULT
0
NOT
NULL
snippets_size
bigint
DEFAULT
0
NOT
NULL
,
pipeline_artifacts_size
bigint
DEFAULT
0
NOT
NULL
);
);
CREATE
TABLE
public
.
namespace_settings
(
CREATE
TABLE
public
.
namespace_settings
(
...
...
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