1
0
Fork 0
forked from forgejo/forgejo

Remove release attachments which repository has been deleted (#9334)

This commit is contained in:
Lunny Xiao 2019-12-14 11:30:39 +08:00 committed by techknowlogick
parent f46176a418
commit bfcce5f86c
2 changed files with 43 additions and 0 deletions

View file

@ -278,6 +278,8 @@ var migrations = []Migration{
NewMigration("change review content type to text", changeReviewContentToText),
// v111 -> v112
NewMigration("update branch protection for can push and whitelist enable", addBranchProtectionCanPushAndEnableWhitelist),
// v112 -> v113
NewMigration("remove release attachments which repository deleted", removeAttachmentMissedRepo),
}
// Migrate database to current version