Fix avatar enumable (#1049)

* fix avatar enumable

* fix import style
This commit is contained in:
Lunny Xiao 2017-02-25 22:58:57 +08:00 committed by GitHub
parent 19b3c45ca7
commit 80f900ebae
3 changed files with 73 additions and 3 deletions

View file

@ -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