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

Migration for deleting orphaned dependencies (#10617)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Antoine GIRARD
2020-03-05 16:54:50 +01:00
committed by GitHub
parent 10081f88ed
commit ae452d024e
2 changed files with 20 additions and 0 deletions

View File

@ -190,6 +190,8 @@ var migrations = []Migration{
NewMigration("add repository code language statistics", addLanguageStats),
// v128 -> v129
NewMigration("fix merge base for pull requests", fixMergeBase),
// v129 -> v130
NewMigration("remove dependencies from deleted repositories", purgeUnusedDependencies),
}
// Migrate database to current version