Skip to content

Commit

Permalink
fix avatar update bug (#1729)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored May 16, 2017
1 parent 91417e9 commit bc299b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/migrations/v20.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func useNewNameAvatars(x *xorm.Engine) error {
}

type User struct {
ID int64 `xorm:"pk autoincr"`
Avatar string
UseCustomAvatar bool
}
Expand Down

0 comments on commit bc299b8

Please sign in to comment.