Browse Source

fix avatar update bug (#1729)

tags/v1.2.0-rc1
Lunny Xiao 7 years ago
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 {
ID int64 `xorm:"pk autoincr"`
Avatar string
UseCustomAvatar bool
}

Loading…
Cancel
Save