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
ff6267cb
Commit
ff6267cb
authored
Mar 29, 2022
by
Jason Goodman
Committed by
Patrick Bair
Mar 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add notification_level to namespace_root_storage_statistics table
Changelog: added
parent
f8a77af7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
db/migrate/20220317170122_add_notification_level_to_namespace_root_storage_statistics.rb
...otification_level_to_namespace_root_storage_statistics.rb
+13
-0
db/schema_migrations/20220317170122
db/schema_migrations/20220317170122
+1
-0
db/structure.sql
db/structure.sql
+2
-1
No files found.
db/migrate/20220317170122_add_notification_level_to_namespace_root_storage_statistics.rb
0 → 100644
View file @
ff6267cb
# frozen_string_literal: true
class
AddNotificationLevelToNamespaceRootStorageStatistics
<
Gitlab
::
Database
::
Migration
[
1.0
]
enable_lock_retries!
def
up
add_column
:namespace_root_storage_statistics
,
:notification_level
,
:integer
,
limit:
2
,
default:
100
,
null:
false
end
def
down
remove_column
:namespace_root_storage_statistics
,
:notification_level
end
end
db/schema_migrations/20220317170122
0 → 100644
View file @
ff6267cb
0bd78ce207cca13b5c4557ace87c135972ed69cd05ee8c6fcc60a9c060ba8b5f
\ No newline at end of file
db/structure.sql
View file @
ff6267cb
...
...
@@ -17331,7 +17331,8 @@ CREATE TABLE namespace_root_storage_statistics (
snippets_size bigint DEFAULT 0 NOT NULL,
pipeline_artifacts_size bigint DEFAULT 0 NOT NULL,
uploads_size bigint DEFAULT 0 NOT NULL,
dependency_proxy_size bigint DEFAULT 0 NOT NULL
dependency_proxy_size bigint DEFAULT 0 NOT NULL,
notification_level smallint DEFAULT 100 NOT NULL
);
CREATE TABLE 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