fix avatar update bug (#1729)

This commit is contained in:
Lunny Xiao 2017-05-16 08:36:09 +08:00 committed by GitHub
parent 91417e9715
commit bc299b8317

View File

@ -34,6 +34,7 @@ func useNewNameAvatars(x *xorm.Engine) error {
} }
type User struct { type User struct {
ID int64 `xorm:"pk autoincr"`
Avatar string Avatar string
UseCustomAvatar bool UseCustomAvatar bool
} }