summaryrefslogtreecommitdiffstats
path: root/models/migrations/migrations.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-03-03 00:36:47 +0800
committerGitHub <noreply@github.com>2017-03-03 00:36:47 +0800
commitef13bbaf7de048ecf71f1ca5f15818e417a744b3 (patch)
tree2d6a726d6acf25b2ca71459534110983bcb3823f /models/migrations/migrations.go
parent341b3a034974ea24535eef12ec2832a6d89cb282 (diff)
downloadgitea-ef13bbaf7de048ecf71f1ca5f15818e417a744b3.tar.gz
gitea-ef13bbaf7de048ecf71f1ca5f15818e417a744b3.zip
Don't rewrite non-gitea public keys (#906)
* don't rewrite non-gitea public keys * add comment for public key
Diffstat (limited to 'models/migrations/migrations.go')
-rw-r--r--models/migrations/migrations.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go
index b3e7fcc8c6..bcf6285923 100644
--- a/models/migrations/migrations.go
+++ b/models/migrations/migrations.go
@@ -90,6 +90,8 @@ var migrations = []Migration{
NewMigration("generate and migrate Git hooks", generateAndMigrateGitHooks),
// v20 -> v21
NewMigration("use new avatar path name for security reason", useNewNameAvatars),
+ // v21 -> v22
+ NewMigration("rewrite authorized_keys file via new format", useNewPublickeyFormat),
}
// Migrate database to current version