1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 18:17:19 +00:00

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