Browse Source
Need RepoID in the languagestat field (#12427)
Signed-off-by: Andrew Thornton <art27@cantab.net>
for-closed-social
zeripath
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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"` |
|
|
|
} |
|
|
|
|
|
|
|