Skip to content

Commit 2854c8a

Browse files
authored
Merge pull request #1724 from lunny/lunny/fix_avatar_update
fix update avatar
2 parents f9859a2 + 506c98d commit 2854c8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/migrations/v20.go

+1
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)