diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go index 2aaed997a..26fe1dea1 100644 --- a/models/migrations/migrations.go +++ b/models/migrations/migrations.go @@ -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 diff --git a/models/migrations/v1_21/v260.go b/models/migrations/v1_21/v260.go index d66f5b013..6ca52c599 100644 --- a/models/migrations/v1_21/v260.go +++ b/models/migrations/v1_21/v260.go @@ -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()