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

package v1_21 //nolint
import (
	"xorm.io/xorm"
)

func AddVersionToActionRunTable(x *xorm.Engine) error {
	type ActionRun struct {
		Version int `xorm:"version default 0"`
	}
	return x.Sync(new(ActionRun))
}