Commit 2218506a authored by Adam Hegyi's avatar Adam Hegyi

Merge branch '332590-add-user-cap-column-to-namespace-settings' into 'master'

Add user_cap column to namespace_settings

See merge request gitlab-org/gitlab!65470
parents eb93b02a 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
c66a42fc813846a09d4389a895a2d20ad48889d8ff45ab642e771b6792490623
\ No newline at end of file
......@@ -15142,6 +15142,7 @@ CREATE TABLE namespace_settings (
resource_access_token_creation_allowed boolean DEFAULT true NOT NULL,
lock_delayed_project_removal 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))
);
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