diff options
Diffstat (limited to 'models/repo_unit.go')
-rw-r--r-- | models/repo_unit.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/models/repo_unit.go b/models/repo_unit.go index cb647fd406..3f0e65f9ab 100644 --- a/models/repo_unit.go +++ b/models/repo_unit.go @@ -16,9 +16,8 @@ import ( // RepoUnit describes all units of a repository type RepoUnit struct { ID int64 - RepoID int64 `xorm:"INDEX(s)"` - Type UnitType `xorm:"INDEX(s)"` - Index int + RepoID int64 `xorm:"INDEX(s)"` + Type UnitType `xorm:"INDEX(s)"` Config core.Conversion `xorm:"TEXT"` CreatedUnix int64 `xorm:"INDEX CREATED"` Created time.Time `xorm:"-"` |