We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321cbcb commit 2054b7fCopy full SHA for 2054b7f
models/repo/repo_unit.go
@@ -42,12 +42,13 @@ func (err ErrUnitTypeNotExist) Unwrap() error {
42
43
// RepoUnit describes all units of a repository
44
type RepoUnit struct { //revive:disable-line:exported
45
- ID int64
46
- RepoID int64 `xorm:"INDEX(s)"`
47
- Type unit.Type `xorm:"INDEX(s)"`
48
- Config convert.Conversion `xorm:"TEXT"`
49
- CreatedUnix timeutil.TimeStamp `xorm:"INDEX CREATED"`
50
- EveryoneAccessMode perm.AccessMode `xorm:"NOT NULL DEFAULT 0"`
+ ID int64
+ RepoID int64 `xorm:"INDEX(s)"`
+ Type unit.Type `xorm:"INDEX(s)"`
+ Config convert.Conversion `xorm:"TEXT"`
+ CreatedUnix timeutil.TimeStamp `xorm:"INDEX CREATED"`
+ AnonymousAccessMode perm.AccessMode `xorm:"NOT NULL DEFAULT 0"`
51
+ EveryoneAccessMode perm.AccessMode `xorm:"NOT NULL DEFAULT 0"`
52
}
53
54
func init() {
0 commit comments