Files

17 lines
295 B
Go
Raw Permalink Normal View History

// Copyright 2023 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
2025-06-27 07:59:55 +02:00
package v1_21
import (
"xorm.io/xorm"
)
func AddIndexToCommentDependentIssueID(x *xorm.Engine) error {
type Comment struct {
DependentIssueID int64 `xorm:"index"`
}
return x.Sync(new(Comment))
}