aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2024-01-17 17:26:45 +0800
committerGitHub <noreply@github.com>2024-01-17 17:26:45 +0800
commit2bdab948cbbd7b348621f853bb8aecd8a74aa3ee (patch)
tree5fe17fb818712a6205252f13f0f91f90374c8425 /models
parentad98ea63ee62c3b9f994bfa6b1ecc8dde617f71f (diff)
downloadgitea-2bdab948cbbd7b348621f853bb8aecd8a74aa3ee.tar.gz
gitea-2bdab948cbbd7b348621f853bb8aecd8a74aa3ee.zip
Add missing migration (#28827)
Missed from #28498
Diffstat (limited to 'models')
-rw-r--r--models/migrations/migrations.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go
index 578cbca035..3b4ac24a2c 100644
--- a/models/migrations/migrations.go
+++ b/models/migrations/migrations.go
@@ -552,6 +552,8 @@ var migrations = []Migration{
NewMigration("Add Index to pull_auto_merge.doer_id", v1_22.AddIndexToPullAutoMergeDoerID),
// v283 -> v284
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