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
ef7b7d31
Commit
ef7b7d31
authored
Jun 25, 2020
by
Shreyas Agarwal
Committed by
Bob Van Landuyt
Jun 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add storage_size_limit to plan_limits table
parent
ac30d6fe
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
1 deletion
+18
-1
db/migrate/20200624075411_add_storage_size_limit_to_plan_limit.rb
...te/20200624075411_add_storage_size_limit_to_plan_limit.rb
+9
-0
db/structure.sql
db/structure.sql
+3
-1
ee/changelogs/unreleased/222980-add-static-info-for-storage.yml
...ngelogs/unreleased/222980-add-static-info-for-storage.yml
+5
-0
spec/models/plan_limits_spec.rb
spec/models/plan_limits_spec.rb
+1
-0
No files found.
db/migrate/20200624075411_add_storage_size_limit_to_plan_limit.rb
0 → 100644
View file @
ef7b7d31
# frozen_string_literal: true
class
AddStorageSizeLimitToPlanLimit
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
change
add_column
:plan_limits
,
:storage_size_limit
,
:integer
,
default:
0
,
null:
false
end
end
db/structure.sql
View file @
ef7b7d31
...
...
@@ -5032,7 +5032,8 @@ CREATE TABLE public.plan_limits (
ci_project_subscriptions
integer
DEFAULT
2
NOT
NULL
,
ci_pipeline_schedules
integer
DEFAULT
10
NOT
NULL
,
offset_pagination_limit
integer
DEFAULT
50000
NOT
NULL
,
ci_instance_level_variables
integer
DEFAULT
25
NOT
NULL
ci_instance_level_variables
integer
DEFAULT
25
NOT
NULL
,
storage_size_limit
integer
DEFAULT
0
NOT
NULL
);
CREATE
SEQUENCE
public
.
plan_limits_id_seq
...
...
@@ -14157,5 +14158,6 @@ COPY "schema_migrations" (version) FROM STDIN;
20200623000148
20200623000320
20200623121135
20200624075411
\
.
ee/changelogs/unreleased/222980-add-static-info-for-storage.yml
0 → 100644
View file @
ef7b7d31
---
title
:
Add storage_size_limit to plan_limits table
merge_request
:
35219
author
:
type
:
added
spec/models/plan_limits_spec.rb
View file @
ef7b7d31
...
...
@@ -52,6 +52,7 @@ RSpec.describe PlanLimits do
ci_active_pipelines
ci_pipeline_size
ci_active_jobs
storage_size_limit
]
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