mirror of
https://github.com/go-gitea/gitea.git
synced 2025-05-18 00:49:09 -04:00
chore: migrations v236
This commit is contained in:
parent
dbdfd2647c
commit
4da0a65511
@ -442,9 +442,8 @@ var migrations = []Migration{
|
||||
NewMigration("Add package cleanup rule table", v1_19.CreatePackageCleanupRuleTable),
|
||||
// v235 -> v236
|
||||
NewMigration("Add index for access_token", v1_19.AddIndexForAccessToken),
|
||||
|
||||
// in dev
|
||||
NewMigration("Add actions tables", addActionsTables),
|
||||
// v236 -> v237
|
||||
NewMigration("Add actions tables", v1_19.AddActionsTables),
|
||||
}
|
||||
|
||||
// GetCurrentDBVersion returns the current db version
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright 2022 The Gitea Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package migrations
|
||||
package v1_19 //nolint
|
||||
|
||||
import (
|
||||
"code.gitea.io/gitea/models/db"
|
||||
@ -10,7 +10,7 @@ import (
|
||||
"xorm.io/xorm"
|
||||
)
|
||||
|
||||
func addActionsTables(x *xorm.Engine) error {
|
||||
func AddActionsTables(x *xorm.Engine) error {
|
||||
type ActionRunner struct {
|
||||
ID int64
|
||||
UUID string `xorm:"CHAR(36) UNIQUE"`
|
Loading…
x
Reference in New Issue
Block a user