mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-26 02:50:54 +00:00
Fix user avatar name (#8547)
Migrate avatar names to include user ID and the md5 hash.
This commit is contained in:
parent
145c1ea0b6
commit
e3a5b83212
3 changed files with 119 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue