diff options
Diffstat (limited to 'models/branches.go')
-rw-r--r-- | models/branches.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/branches.go b/models/branches.go index 1c3c0d17be..c26ee7d890 100644 --- a/models/branches.go +++ b/models/branches.go @@ -26,6 +26,7 @@ type ProtectedBranch struct { ID int64 `xorm:"pk autoincr"` RepoID int64 `xorm:"UNIQUE(s)"` BranchName string `xorm:"UNIQUE(s)"` + CanPush bool `xorm:"NOT NULL DEFAULT false"` EnableWhitelist bool WhitelistUserIDs []int64 `xorm:"JSON TEXT"` WhitelistTeamIDs []int64 `xorm:"JSON TEXT"` |