Skip to content

Commit f1a8613

Browse files
committed
Fix migration
1 parent ca7acea commit f1a8613

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/migrations/v168.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
func restrictUserAndReactionColumnSize(x *xorm.Engine) error {
1212
type Reaction struct {
1313
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)"`
14+
Type string `xorm:"VARCHAR(32) INDEX NOT NULL"`
15+
OriginalAuthor string `xorm:"VARCHAR(64) INDEX"`
1616
}
1717
if err := x.Sync2(new(Reaction)); err != nil {
1818
return err

0 commit comments

Comments
 (0)