Branch rules MVC: Design or reuse the database schema to store Branch rules
Problem
We need to store information about Branch Rules in database
This issue blocks #362706 (closed), #362707 (closed), #362219 (closed)
Proposal
I see two possible options to proceed
- Create a new table for Branch Rules and add necessary code to the Rails app
- Reuse
protected_branches
table for keeping Branch rules data
It is an investigation issue, we need to evaluate both options and decide how to proceed next.
Implementation plan
Additional areas affected
- Import/Export currently include protected branches
Edited by Joe Woodward