Skip to content

Add table to store Projects::BranchRule data

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

We need a new table to store the Project::BranchRule records. This initially will only contain name which should match ProtectedBranch#names data type and rule_type which is an enum, project_id, group_id, squash_option which follows this enum

This issue is just for the migration. No model changes.

Edited by 🤖 GitLab Bot 🤖