Skip to content

Commit 506c98d

Browse files
committed
fix update avatar
1 parent f9859a2 commit 506c98d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/migrations/v20.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func useNewNameAvatars(x *xorm.Engine) error {
3434
}
3535

3636
type User struct {
37+
ID int64 `xorm:"pk autoincr"`
3738
Avatar string
3839
UseCustomAvatar bool
3940
}

0 commit comments

Comments
 (0)