loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix description of drop custom_labels migration (#25243)

Follow: #24806

authored by

sillyguodong and committed by
GitHub
020ab3d4 d6dd6d64

+3 -3
+2 -2
models/migrations/migrations.go
··· 499 499 // v259 -> 260 500 500 NewMigration("Convert scoped access tokens", v1_20.ConvertScopedAccessTokens), 501 501 502 - // Gitea 1.21.0 ends at 260 502 + // Gitea 1.20.0 ends at 260 503 503 504 504 // 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), 506 506 } 507 507 508 508 // GetCurrentDBVersion returns the current db version
+1 -1
models/migrations/v1_21/v260.go
··· 9 9 "xorm.io/xorm" 10 10 ) 11 11 12 - func DropCustomLabelsColumnToActRunner(x *xorm.Engine) error { 12 + func DropCustomLabelsColumnOfActionRunner(x *xorm.Engine) error { 13 13 sess := x.NewSession() 14 14 defer sess.Close() 15 15