summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/migrations/v145.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/migrations/v145.go b/models/migrations/v145.go
index 49c2bc4dc4..436c95fab9 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"`
}