Add missing migration (#28827)

Missed from #28498
This commit is contained in:
Lunny Xiao 2024-01-17 17:26:45 +08:00 committed by GitHub
parent ad98ea63ee
commit 2bdab948cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -552,6 +552,8 @@ var migrations = []Migration{
NewMigration("Add Index to pull_auto_merge.doer_id", v1_22.AddIndexToPullAutoMergeDoerID), NewMigration("Add Index to pull_auto_merge.doer_id", v1_22.AddIndexToPullAutoMergeDoerID),
// v283 -> v284 // v283 -> v284
NewMigration("Add combined Index to issue_user.uid and issue_id", v1_22.AddCombinedIndexToIssueUser), NewMigration("Add combined Index to issue_user.uid and issue_id", v1_22.AddCombinedIndexToIssueUser),
// v284 -> v285
NewMigration("Add ignore stale approval column on branch table", v1_22.AddIgnoreStaleApprovalsColumnToProtectedBranchTable),
} }
// GetCurrentDBVersion returns the current db version // GetCurrentDBVersion returns the current db version