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 {
4242
4343// RepoUnit describes all units of a repository
4444type 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"`
5152}
5253
5354func init () {
You can’t perform that action at this time.
0 commit comments