Browse Source

fix avatar update bug (#1729)

for-closed-social
Lunny Xiao 7 years ago
committed by GitHub
parent
commit
bc299b8317
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      models/migrations/v20.go

+ 1
- 0
models/migrations/v20.go 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
} }

Loading…
Cancel
Save