Skip to content

Commit 020ab3d

Browse files
authored
Fix description of drop custom_labels migration (#25243)
Follow: #24806
1 parent d6dd6d6 commit 020ab3d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

models/migrations/migrations.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -499,10 +499,10 @@ var migrations = []Migration{
499499
// v259 -> 260
500500
NewMigration("Convert scoped access tokens", v1_20.ConvertScopedAccessTokens),
501501

502-
// Gitea 1.21.0 ends at 260
502+
// Gitea 1.20.0 ends at 260
503503

504504
// v260 -> v261
505-
NewMigration("Add label column to action_run table, and combine labels", v1_21.DropCustomLabelsColumnToActRunner),
505+
NewMigration("Drop custom_labels column of action_runner table", v1_21.DropCustomLabelsColumnOfActionRunner),
506506
}
507507

508508
// GetCurrentDBVersion returns the current db version

models/migrations/v1_21/v260.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"xorm.io/xorm"
1010
)
1111

12-
func DropCustomLabelsColumnToActRunner(x *xorm.Engine) error {
12+
func DropCustomLabelsColumnOfActionRunner(x *xorm.Engine) error {
1313
sess := x.NewSession()
1414
defer sess.Close()
1515

0 commit comments

Comments
 (0)