diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-25 22:58:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-25 22:58:57 +0800 |
commit | 80f900ebae5c52f736f667a81bbc1ab815344efc (patch) | |
tree | a3542478952b99a49a579eccaf1ef782bc143583 /models/migrations/migrations.go | |
parent | 19b3c45ca7bddd43e41d169ef80e680c3c3bc798 (diff) | |
download | gitea-80f900ebae5c52f736f667a81bbc1ab815344efc.tar.gz gitea-80f900ebae5c52f736f667a81bbc1ab815344efc.zip |
Fix avatar enumable (#1049)
* fix avatar enumable
* fix import style
Diffstat (limited to 'models/migrations/migrations.go')
-rw-r--r-- | models/migrations/migrations.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go index 5ae139cb3f..226e548171 100644 --- a/models/migrations/migrations.go +++ b/models/migrations/migrations.go @@ -88,6 +88,8 @@ var migrations = []Migration{ NewMigration("add external login user", addExternalLoginUser), // v19 -> v20 NewMigration("generate and migrate Git hooks", generateAndMigrateGitHooks), + // v20 -> v21 + NewMigration("use new avtar path name for security reason", useNewNameAvatars), } // Migrate database to current version |