summaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_21/v262.go
blob: 23e900572a223b950e88e031df44bfe4bf5b6eed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2023 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

package v1_21 //nolint

import (
	"xorm.io/xorm"
)

func AddTriggerEventToActionRun(x *xorm.Engine) error {
	type ActionRun struct {
		TriggerEvent string
	}

	return x.Sync(new(ActionRun))
}