diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-05-14 13:39:53 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-05-14 13:39:53 +0800 |
commit | 506c98df5bd7d795491906645d8f9befbf91e91a (patch) | |
tree | c72b3a7065a567dbfa9472c503f4872a8c9bf822 | |
parent | f9859a29913a4fddbdd9f67febef3553ddf8c98b (diff) | |
download | gitea-506c98df5bd7d795491906645d8f9befbf91e91a.tar.gz gitea-506c98df5bd7d795491906645d8f9befbf91e91a.zip |
fix update avatar
-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 } |