mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-28 04:36:11 +01:00
Need RepoID in the languagestat field (#12427)
Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
parent
502e38c33c
commit
5e5c893555
|
@ -14,6 +14,7 @@ import (
|
||||||
|
|
||||||
func increaseLanguageField(x *xorm.Engine) error {
|
func increaseLanguageField(x *xorm.Engine) error {
|
||||||
type LanguageStat struct {
|
type LanguageStat struct {
|
||||||
|
RepoID int64 `xorm:"UNIQUE(s) INDEX NOT NULL"`
|
||||||
Language string `xorm:"VARCHAR(50) UNIQUE(s) INDEX NOT NULL"`
|
Language string `xorm:"VARCHAR(50) UNIQUE(s) INDEX NOT NULL"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue