Add migration to fix the old broken merge-bases (#10604)
* Add migration * Fix migration * Update models/migrations/v128.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
This commit is contained in:
parent
37c3db7be6
commit
6420f17fb6
2 changed files with 99 additions and 0 deletions
|
@ -188,6 +188,8 @@ var migrations = []Migration{
|
|||
NewMigration("Fix topic repository count", fixTopicRepositoryCount),
|
||||
// v127 -> v128
|
||||
NewMigration("add repository code language statistics", addLanguageStats),
|
||||
// v128 -> v129
|
||||
NewMigration("fix merge base for pull requests", fixMergeBase),
|
||||
}
|
||||
|
||||
// Migrate database to current version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue