mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-24 22:27:35 +02:00
17 lines
327 B
Go
17 lines
327 B
Go
// Copyright 2025 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package v1_25
|
|
|
|
import (
|
|
"xorm.io/xorm"
|
|
)
|
|
|
|
func AddBlockOnCodeownerReviews(x *xorm.Engine) error {
|
|
type ProtectedBranch struct {
|
|
BlockOnCodeownerReviews bool `xorm:"NOT NULL DEFAULT false"`
|
|
}
|
|
|
|
return x.Sync(new(ProtectedBranch))
|
|
}
|