aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/migrations.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-09-23 18:50:06 +0800
committerGitHub <noreply@github.com>2021-09-23 18:50:06 +0800
commitd9c69596fff1a1482cbc15ac220f9d5e1829a5ea (patch)
tree1e39fa59ad38cdd9a0a9c3a1f3e4bc331bed405e /models/migrations/migrations.go
parentd9e237e3f268d786af028ba8e7cc24f70a6d6a36 (diff)
downloadgitea-d9c69596fff1a1482cbc15ac220f9d5e1829a5ea.tar.gz
gitea-d9c69596fff1a1482cbc15ac220f9d5e1829a5ea.zip
Fix commit status index problem (#17061)
* Fix commit status index problem * remove unused functions * Add fixture and test for migration * Fix lint * Fix fixture * Fix lint * Fix test * Fix bug * Fix bug
Diffstat (limited to 'models/migrations/migrations.go')
-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 fb6958f2da..3f90e5e74a 100644
--- a/models/migrations/migrations.go
+++ b/models/migrations/migrations.go
@@ -342,6 +342,8 @@ var migrations = []Migration{
NewMigration("Add repo id column for attachment table", addRepoIDForAttachment),
// v194 -> v195
NewMigration("Add Branch Protection Unprotected Files Column", addBranchProtectionUnprotectedFilesColumn),
+ // v196 -> v197
+ NewMigration("Add table commit_status_index", addTableCommitStatusIndex),
}
// GetCurrentDBVersion returns the current db version