mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-19 05:25:19 +02:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: wxiaoguang <2114189+wxiaoguang@users.noreply.github.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
15 lines
341 B
Go
15 lines
341 B
Go
// Copyright 2023 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package v1_20
|
|
|
|
import "code.gitea.io/gitea/models/db"
|
|
|
|
func AddVersionToActionRunner(x db.EngineMigration) error {
|
|
type ActionRunner struct {
|
|
Version string `xorm:"VARCHAR(64)"` // the version of act_runner
|
|
}
|
|
|
|
return x.Sync(new(ActionRunner))
|
|
}
|