Skip to content

Commit c5bb344

Browse files
committed
Rename migration
1 parent 271e65b commit c5bb344

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

models/migrations/v1_24/v319.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2025 The Gitea Authors. All rights reserved.
2+
// SPDX-License-Identifier: MIT
3+
4+
package v1_24 //nolint
5+
6+
import (
7+
"xorm.io/xorm"
8+
)
9+
10+
func AddExclusiveOrderColumnToLabelTable(x *xorm.Engine) error {
11+
type Label struct {
12+
ExclusiveOrder int64 `xorm:"DEFAULT 0"`
13+
}
14+
15+
return x.Sync(new(Label))
16+
}

0 commit comments

Comments
 (0)