diff options
Diffstat (limited to 'models/migrations/v68.go')
-rw-r--r-- | models/migrations/v68.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v68.go b/models/migrations/v68.go index 68c8d237fd..d9e80ca80e 100644 --- a/models/migrations/v68.go +++ b/models/migrations/v68.go @@ -25,7 +25,7 @@ func reformatAndRemoveIncorrectTopics(x *xorm.Engine) (err error) { type Topic struct { ID int64 - Name string `xorm:"UNIQUE"` + Name string `xorm:"UNIQUE VARCHAR(25)"` RepoCount int CreatedUnix int64 `xorm:"INDEX created"` UpdatedUnix int64 `xorm:"INDEX updated"` |