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
0d864083
Commit
0d864083
authored
Jul 07, 2021
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab master
parents
606366f1
2218506a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
db/migrate/20210705132928_add_new_user_signups_cap_to_namespace_settings.rb
...5132928_add_new_user_signups_cap_to_namespace_settings.rb
+17
-0
db/schema_migrations/20210705132928
db/schema_migrations/20210705132928
+1
-0
db/structure.sql
db/structure.sql
+1
-0
No files found.
db/migrate/20210705132928_add_new_user_signups_cap_to_namespace_settings.rb
0 → 100644
View file @
0d864083
# frozen_string_literal: true
class
AddNewUserSignupsCapToNamespaceSettings
<
ActiveRecord
::
Migration
[
6.1
]
include
Gitlab
::
Database
::
MigrationHelpers
def
up
with_lock_retries
do
add_column
:namespace_settings
,
:new_user_signups_cap
,
:integer
,
null:
true
end
end
def
down
with_lock_retries
do
remove_column
:namespace_settings
,
:new_user_signups_cap
end
end
end
db/schema_migrations/20210705132928
0 → 100644
View file @
0d864083
c66a42fc813846a09d4389a895a2d20ad48889d8ff45ab642e771b6792490623
\ No newline at end of file
db/structure.sql
View file @
0d864083
...
@@ -15142,6 +15142,7 @@ CREATE TABLE namespace_settings (
...
@@ -15142,6 +15142,7 @@ CREATE TABLE namespace_settings (
resource_access_token_creation_allowed boolean DEFAULT true NOT NULL,
resource_access_token_creation_allowed boolean DEFAULT true NOT NULL,
lock_delayed_project_removal boolean DEFAULT false NOT NULL,
lock_delayed_project_removal boolean DEFAULT false NOT NULL,
prevent_sharing_groups_outside_hierarchy boolean DEFAULT false NOT NULL,
prevent_sharing_groups_outside_hierarchy boolean DEFAULT false NOT NULL,
new_user_signups_cap integer,
CONSTRAINT check_0ba93c78c7 CHECK ((char_length(default_branch_name) <= 255))
CONSTRAINT check_0ba93c78c7 CHECK ((char_length(default_branch_name) <= 255))
);
);
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