2023-05-25 15:17:19 +02:00
|
|
|
// Copyright 2023 The Gitea Authors. All rights reserved.
|
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
|
2025-06-27 07:59:55 +02:00
|
|
|
package v1_20
|
2023-05-25 15:17:19 +02:00
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"xorm.io/xorm"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func AddPinOrderToIssue(x *xorm.Engine) error {
|
|
|
|
|
type Issue struct {
|
|
|
|
|
PinOrder int `xorm:"DEFAULT 0"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return x.Sync(new(Issue))
|
|
|
|
|
}
|