Add new jsonb column to store settings for default branch protection
Compare changes
- Michael Becker authored
@@ -10,10 +10,78 @@
@@ -10,10 +10,78 @@
Currently, the options for default branch protection at the instance and group level lag behind, and are not as fine-grained, as the options available from the Protected Branches feature
The branch defaults lag behind because the current implementation uses an integer column to store the default settings, which becomes difficult to expand as new options and finer detail controls are added to the protected branches feature
at a high-ish level the existing feature is implemented as:
BranchProtection
helper
To offer better support of protected branches features on the default branch, we can:
This commit performs step 1, by adding a new jsonb
column
resolves: #408150 (closed) Changelog: added
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Numbered steps to set up and validate the change are strongly suggested.
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.