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
672c54a0
Commit
672c54a0
authored
Jul 07, 2021
by
Etienne Baqué
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added user_cap column to namespace_settings
Changelog: added
parent
0aecfcaa
Changes
3
Show 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 @
672c54a0
# 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 @
672c54a0
c66a42fc813846a09d4389a895a2d20ad48889d8ff45ab642e771b6792490623
\ No newline at end of file
db/structure.sql
View file @
672c54a0
...
@@ -15103,6 +15103,7 @@ CREATE TABLE namespace_settings (
...
@@ -15103,6 +15103,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