diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-05-16 08:36:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-16 08:36:09 +0800 |
commit | bc299b8317df8aadb37b9b7c11bac68fb1813ae3 (patch) | |
tree | 98855345c79e82f09bfe7503798036bcc21a03d0 | |
parent | 91417e971553ca0a4862fb42188a816a2ea86277 (diff) | |
download | gitea-bc299b8317df8aadb37b9b7c11bac68fb1813ae3.tar.gz gitea-bc299b8317df8aadb37b9b7c11bac68fb1813ae3.zip |
fix avatar update bug (#1729)
-rw-r--r-- | models/migrations/v20.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/migrations/v20.go b/models/migrations/v20.go index 982914a06e..ded99e09ce 100644 --- a/models/migrations/v20.go +++ b/models/migrations/v20.go @@ -34,6 +34,7 @@ func useNewNameAvatars(x *xorm.Engine) error { } type User struct { + ID int64 `xorm:"pk autoincr"` Avatar string UseCustomAvatar bool } |