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
cccc6f14
Commit
cccc6f14
authored
Jul 06, 2020
by
Nicolas Dular
Committed by
Adam Hegyi
Jul 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add temporary storage increase column
parent
d8c4695f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
changelogs/unreleased/227054-eng-add-db-column-to-indicate-temporarily-increased-storage.yml
...d-db-column-to-indicate-temporarily-increased-storage.yml
+5
-0
db/migrate/20200706170536_add_temporary_storage_increase_to_namespace_limits.rb
...536_add_temporary_storage_increase_to_namespace_limits.rb
+9
-0
db/structure.sql
db/structure.sql
+3
-1
No files found.
changelogs/unreleased/227054-eng-add-db-column-to-indicate-temporarily-increased-storage.yml
0 → 100644
View file @
cccc6f14
---
title
:
Add temporary storage increase column
merge_request
:
36107
author
:
type
:
added
db/migrate/20200706170536_add_temporary_storage_increase_to_namespace_limits.rb
0 → 100644
View file @
cccc6f14
# frozen_string_literal: true
class
AddTemporaryStorageIncreaseToNamespaceLimits
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
change
add_column
:namespace_limits
,
:temporary_storage_increase_ends_on
,
:date
,
null:
true
end
end
db/structure.sql
View file @
cccc6f14
...
...
@@ -13014,7 +13014,8 @@ CREATE TABLE public.namespace_aggregation_schedules (
CREATE
TABLE
public
.
namespace_limits
(
additional_purchased_storage_size
bigint
DEFAULT
0
NOT
NULL
,
additional_purchased_storage_ends_on
date
,
namespace_id
integer
NOT
NULL
namespace_id
integer
NOT
NULL
,
temporary_storage_increase_ends_on
date
);
CREATE
TABLE
public
.
namespace_root_storage_statistics
(
...
...
@@ -23580,5 +23581,6 @@ COPY "schema_migrations" (version) FROM STDIN;
20200703154822
20200704143633
20200706005325
20200706170536
\
.
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