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
1 changed files with 1 additions and 0 deletions

View File

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