Add unlock_membership_to_ldap boolean to Groups

parent 9c426ff6
# 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
......@@ -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"
......
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