summaryrefslogtreecommitdiffstats
path: root/models/repo_language_stats.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo_language_stats.go')
-rw-r--r--models/repo_language_stats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_language_stats.go b/models/repo_language_stats.go
index a15063e25a..e60e441c7a 100644
--- a/models/repo_language_stats.go
+++ b/models/repo_language_stats.go
@@ -19,7 +19,7 @@ type LanguageStat struct {
RepoID int64 `xorm:"UNIQUE(s) INDEX NOT NULL"`
CommitID string
IsPrimary bool
- Language string `xorm:"VARCHAR(30) UNIQUE(s) INDEX NOT NULL"`
+ Language string `xorm:"VARCHAR(50) UNIQUE(s) INDEX NOT NULL"`
Percentage float32 `xorm:"-"`
Size int64 `xorm:"NOT NULL DEFAULT 0"`
Color string `xorm:"-"`