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
e7ecda89
Commit
e7ecda89
authored
Nov 02, 2020
by
Nicolas Dular
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove storage limit column from application settings
parent
263a9980
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
1 deletion
+19
-1
changelogs/unreleased/nicolasdular-remove-storage-size-limit-column.yml
...eleased/nicolasdular-remove-storage-size-limit-column.yml
+5
-0
db/post_migrate/20201102114018_remove_storage_size_limit_from_application_settings.rb
...18_remove_storage_size_limit_from_application_settings.rb
+13
-0
db/schema_migrations/20201102114018
db/schema_migrations/20201102114018
+1
-0
db/structure.sql
db/structure.sql
+0
-1
No files found.
changelogs/unreleased/nicolasdular-remove-storage-size-limit-column.yml
0 → 100644
View file @
e7ecda89
---
title
:
Remove storage limit column from application settings
merge_request
:
46676
author
:
type
:
removed
db/post_migrate/20201102114018_remove_storage_size_limit_from_application_settings.rb
0 → 100644
View file @
e7ecda89
# frozen_string_literal: true
class
RemoveStorageSizeLimitFromApplicationSettings
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
up
remove_column
:application_settings
,
:namespace_storage_size_limit
end
def
down
add_column
:application_settings
,
:namespace_storage_size_limit
,
:bigint
,
default:
0
end
end
db/schema_migrations/20201102114018
0 → 100644
View file @
e7ecda89
dc1c372f4976e3747d7201406123a54e3852d9ea9516089043a93698a09e2f9f
\ No newline at end of file
db/structure.sql
View file @
e7ecda89
...
...
@@ -9293,7 +9293,6 @@ CREATE TABLE application_settings (
email_restrictions_enabled
boolean
DEFAULT
false
NOT
NULL
,
email_restrictions
text
,
npm_package_requests_forwarding
boolean
DEFAULT
true
NOT
NULL
,
namespace_storage_size_limit
bigint
DEFAULT
0
NOT
NULL
,
seat_link_enabled
boolean
DEFAULT
true
NOT
NULL
,
container_expiration_policies_enable_historic_entries
boolean
DEFAULT
false
NOT
NULL
,
issues_create_limit
integer
DEFAULT
0
NOT
NULL
,
...
...
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