]> source.dussan.org Git - gitea.git/commitdiff
Fix description of drop custom_labels migration (#25243)
authorsillyguodong <33891828+sillyguodong@users.noreply.github.com>
Wed, 14 Jun 2023 04:46:55 +0000 (12:46 +0800)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 04:46:55 +0000 (04:46 +0000)
Follow: #24806

models/migrations/migrations.go
models/migrations/v1_21/v260.go

index 2aaed997ad84f26b2a5b1f119f206ead9100a040..26fe1dea129c3208328b52d7399cc7fa70344c85 100644 (file)
@@ -499,10 +499,10 @@ var migrations = []Migration{
        // v259 -> 260
        NewMigration("Convert scoped access tokens", v1_20.ConvertScopedAccessTokens),
 
-       // Gitea 1.21.0 ends at 260
+       // Gitea 1.20.0 ends at 260
 
        // v260 -> v261
-       NewMigration("Add label column to action_run table, and combine labels", v1_21.DropCustomLabelsColumnToActRunner),
+       NewMigration("Drop custom_labels column of action_runner table", v1_21.DropCustomLabelsColumnOfActionRunner),
 }
 
 // GetCurrentDBVersion returns the current db version
index d66f5b01379c512d0a8f682aba697d5a338afed0..6ca52c5998df7dba0b8233dfeb94b4b0a301d849 100644 (file)
@@ -9,7 +9,7 @@ import (
        "xorm.io/xorm"
 )
 
-func DropCustomLabelsColumnToActRunner(x *xorm.Engine) error {
+func DropCustomLabelsColumnOfActionRunner(x *xorm.Engine) error {
        sess := x.NewSession()
        defer sess.Close()