// Copyright 2026 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT package v29 import ( "context" "gitea.dev/modelmigration/base" "xorm.io/xorm" ) func AddReusableWorkflowRefToActionRunJob(_ context.Context, x base.EngineMigration) error { type ActionRunJob struct { ReusableWorkflowRef string `xorm:"VARCHAR(512) NOT NULL DEFAULT ''"` } _, err := x.SyncWithOptions(xorm.SyncOptions{ IgnoreConstrains: true, IgnoreDropIndices: true, }, new(ActionRunJob)) return err }