aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_24/v315.go
blob: aefb872d0fb30147d5ed79e3711b1a980ca36a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2025 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

package v1_24 //nolint

import (
	"xorm.io/xorm"
)

func AddEphemeralToActionRunner(x *xorm.Engine) error {
	type ActionRunner struct {
		Ephemeral bool `xorm:"ephemeral NOT NULL DEFAULT false"`
	}

	return x.Sync(new(ActionRunner))
}