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
9cb676d3
Commit
9cb676d3
authored
Mar 04, 2020
by
Sebastian Arcila Valenzuela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add unlock_membership_to_ldap boolean to Groups
parent
9c426ff6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
db/migrate/20200304124406_add_unlock_membership_to_ldap_of_groups.rb
...20200304124406_add_unlock_membership_to_ldap_of_groups.rb
+19
-0
db/schema.rb
db/schema.rb
+1
-0
No files found.
db/migrate/20200304124406_add_unlock_membership_to_ldap_of_groups.rb
0 → 100644
View file @
9cb676d3
# frozen_string_literal: true
class
AddUnlockMembershipToLdapOfGroups
<
ActiveRecord
::
Migration
[
5.2
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
up
with_lock_retries
do
add_column
(
:namespaces
,
:unlock_membership_to_ldap
,
:boolean
)
end
end
def
down
with_lock_retries
do
remove_column
:namespaces
,
:unlock_membership_to_ldap
end
end
end
db/schema.rb
View file @
9cb676d3
...
...
@@ -2784,6 +2784,7 @@ ActiveRecord::Schema.define(version: 2020_03_13_123934) do
t
.
integer
"max_artifacts_size"
t
.
boolean
"mentions_disabled"
t
.
integer
"default_branch_protection"
,
limit:
2
t
.
boolean
"unlock_membership_to_ldap"
t
.
index
[
"created_at"
],
name:
"index_namespaces_on_created_at"
t
.
index
[
"custom_project_templates_group_id"
,
"type"
],
name:
"index_namespaces_on_custom_project_templates_group_id_and_type"
,
where:
"(custom_project_templates_group_id IS NOT NULL)"
t
.
index
[
"file_template_project_id"
],
name:
"index_namespaces_on_file_template_project_id"
...
...
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