summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-08-18 13:38:59 +0800
committerGitHub <noreply@github.com>2022-08-18 13:38:59 +0800
commit5d0f643461fd40d8b04a35295e21dc459f398741 (patch)
tree854637c34973a74ae7fe940af01be945f6745929
parent03df7d04529ad7cfcc5acffb254bb6f168ccbf08 (diff)
downloadgitea-5d0f643461fd40d8b04a35295e21dc459f398741.tar.gz
gitea-5d0f643461fd40d8b04a35295e21dc459f398741.zip
Fix migration file name (#20843)
-rw-r--r--models/migrations/migrations.go3
-rw-r--r--models/migrations/v224.go (renamed from models/migrations/v999.go)0
2 files changed, 1 insertions, 2 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go
index aa08f055d3..30c4ad250c 100644
--- a/models/migrations/migrations.go
+++ b/models/migrations/migrations.go
@@ -406,8 +406,7 @@ var migrations = []Migration{
NewMigration("Drop old CredentialID column", dropOldCredentialIDColumn),
// v223 -> v224
NewMigration("Rename CredentialIDBytes column to CredentialID", renameCredentialIDBytes),
-
- // v999
+ // v224 -> v225
NewMigration("Add badges to users", creatUserBadgesTable),
}
diff --git a/models/migrations/v999.go b/models/migrations/v224.go
index d684d538df..d684d538df 100644
--- a/models/migrations/v999.go
+++ b/models/migrations/v224.go