Skip to content

Commit 5e5c893

Browse files
authored
Need RepoID in the languagestat field (#12427)
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 502e38c commit 5e5c893

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/migrations/v145.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414

1515
func increaseLanguageField(x *xorm.Engine) error {
1616
type LanguageStat struct {
17+
RepoID int64 `xorm:"UNIQUE(s) INDEX NOT NULL"`
1718
Language string `xorm:"VARCHAR(50) UNIQUE(s) INDEX NOT NULL"`
1819
}
1920

0 commit comments

Comments
 (0)