diff --git a/models/migrations/v145.go b/models/migrations/v145.go index 49c2bc4dc4c..436c95fab9c 100644 --- a/models/migrations/v145.go +++ b/models/migrations/v145.go @@ -14,6 +14,7 @@ import ( func increaseLanguageField(x *xorm.Engine) error { type LanguageStat struct { + RepoID int64 `xorm:"UNIQUE(s) INDEX NOT NULL"` Language string `xorm:"VARCHAR(50) UNIQUE(s) INDEX NOT NULL"` }