mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix user avatar name (#8547)
Migrate avatar names to include user ID and the md5 hash.
This commit is contained in:
		@@ -284,6 +284,8 @@ var migrations = []Migration{
 | 
			
		||||
	NewMigration("new feature: change target branch of pull requests", featureChangeTargetBranch),
 | 
			
		||||
	// v114 -> v115
 | 
			
		||||
	NewMigration("Remove authentication credentials from stored URL", sanitizeOriginalURL),
 | 
			
		||||
	// v115 -> v116
 | 
			
		||||
	NewMigration("add user_id prefix to existing user avatar name", renameExistingUserAvatarName),
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Migrate database to current version
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user