We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7acea commit f1a8613Copy full SHA for f1a8613
models/migrations/v168.go
@@ -11,8 +11,8 @@ import (
11
func restrictUserAndReactionColumnSize(x *xorm.Engine) error {
12
type Reaction struct {
13
ID int64 `xorm:"pk autoincr"`
14
- Type string `xorm:"VARCHAR(32) INDEX UNIQUE(s) NOT NULL"`
15
- OriginalAuthor string `xorm:"VARCHAR(64) INDEX UNIQUE(s)"`
+ Type string `xorm:"VARCHAR(32) INDEX NOT NULL"`
+ OriginalAuthor string `xorm:"VARCHAR(64) INDEX"`
16
}
17
if err := x.Sync2(new(Reaction)); err != nil {
18
return err
0 commit comments