mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 11:53:56 +01:00
Fix description of drop custom_labels migration (#25243)
Follow: #24806
This commit is contained in:
parent
d6dd6d641b
commit
020ab3d4c8
2 changed files with 3 additions and 3 deletions
|
@ -499,10 +499,10 @@ var migrations = []Migration{
|
||||||
// v259 -> 260
|
// v259 -> 260
|
||||||
NewMigration("Convert scoped access tokens", v1_20.ConvertScopedAccessTokens),
|
NewMigration("Convert scoped access tokens", v1_20.ConvertScopedAccessTokens),
|
||||||
|
|
||||||
// Gitea 1.21.0 ends at 260
|
// Gitea 1.20.0 ends at 260
|
||||||
|
|
||||||
// v260 -> v261
|
// 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
|
// GetCurrentDBVersion returns the current db version
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"xorm.io/xorm"
|
"xorm.io/xorm"
|
||||||
)
|
)
|
||||||
|
|
||||||
func DropCustomLabelsColumnToActRunner(x *xorm.Engine) error {
|
func DropCustomLabelsColumnOfActionRunner(x *xorm.Engine) error {
|
||||||
sess := x.NewSession()
|
sess := x.NewSession()
|
||||||
defer sess.Close()
|
defer sess.Close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue