feat(workspaces): save repository set base branches (#3269)

This commit is contained in:
Carlos Florêncio
2026-09-11 16:18:10 +01:00
committed by GitHub
parent a4077cf9cf
commit e64d8e4cf3
89 changed files with 4481 additions and 857 deletions
@@ -65,6 +65,7 @@ func (r *Repository) runMigrations() error {
if err := r.ensureTeamAccessSchema(); err != nil {
return err
}
_ = r.migrate.Apply("repository_set_items.base_branch", `ALTER TABLE repository_set_items ADD COLUMN base_branch TEXT NOT NULL DEFAULT ''`)
if err := r.ensureRepositoryBranchPoliciesSchema(); err != nil {
return err
}