Files

20 lines
416 B
Go
Raw Permalink Normal View History

2025-03-14 20:27:24 +01:00
// Copyright 2025 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
2025-06-27 07:59:55 +02:00
package v1_24
2025-03-14 20:27:24 +01:00
import (
"xorm.io/xorm"
)
func AddEphemeralToActionRunner(x *xorm.Engine) error {
type ActionRunner struct {
Ephemeral bool `xorm:"ephemeral NOT NULL DEFAULT false"`
}
_, err := x.SyncWithOptions(xorm.SyncOptions{
IgnoreConstrains: true,
IgnoreIndices: true,
}, new(ActionRunner))
return err
2025-03-14 20:27:24 +01:00
}