mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-25 08:04:51 +02:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: wxiaoguang <2114189+wxiaoguang@users.noreply.github.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
19 lines
405 B
Go
19 lines
405 B
Go
// Copyright 2021 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package v1_16
|
|
|
|
import (
|
|
"code.gitea.io/gitea/models/db"
|
|
"code.gitea.io/gitea/models/migrations/base"
|
|
)
|
|
|
|
func RecreateIssueResourceIndexTable(x db.EngineMigration) error {
|
|
type IssueIndex struct {
|
|
GroupID int64 `xorm:"pk"`
|
|
MaxIndex int64 `xorm:"index"`
|
|
}
|
|
|
|
return base.RecreateTables(new(IssueIndex))(x)
|
|
}
|