Commit 5b19082c authored by Tiger Watson's avatar Tiger Watson

Merge branch '1793-add-lock-to-ldap-column-to-groups' into 'master'

Add unlock_membership_to_ldap boolean to Groups

See merge request gitlab-org/gitlab!26474
parents 5f46d0b1 76f9c34e
---
title: Add unlock_membership_to_ldap boolean to Groups
merge_request: 26474
author:
type: added
# 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
......@@ -2787,6 +2787,7 @@ ActiveRecord::Schema.define(version: 2020_03_19_203901) 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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment