Skip to content

Commit 4546f15

Browse files
authored
Update v300.go
1 parent a2cccd3 commit 4546f15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/migrations/v1_23/v300.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import "xorm.io/xorm"
77

88
func AddForcePushBranchProtection(x *xorm.Engine) error {
99
type ProtectedBranch struct {
10-
CanForcePush bool `xorm:"NOT NULL DEFAULT false"`
11-
EnableForcePushAllowlist bool
10+
CanForcePush bool `xorm:"NOT NULL DEFAULT false"`
11+
EnableForcePushAllowlist bool `xorm:"NOT NULL DEFAULT false"`
1212
ForcePushAllowlistUserIDs []int64 `xorm:"JSON TEXT"`
1313
ForcePushAllowlistTeamIDs []int64 `xorm:"JSON TEXT"`
1414
ForcePushAllowlistDeployKeys bool `xorm:"NOT NULL DEFAULT false"`

0 commit comments

Comments
 (0)