File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,13 @@ func (err ErrUnitTypeNotExist) Unwrap() error {
42
42
43
43
// RepoUnit describes all units of a repository
44
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"`
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
+ AnonymousAccessMode perm.AccessMode `xorm:"NOT NULL DEFAULT 0"`
51
+ EveryoneAccessMode perm.AccessMode `xorm:"NOT NULL DEFAULT 0"`
51
52
}
52
53
53
54
func init () {
You can’t perform that action at this time.
0 commit comments