Skip to content

Commit 994257d

Browse files
authored
Add missing sorting column in project_issue table (#19635)
1 parent 3ece9d5 commit 994257d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

models/project/issue.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ type ProjectIssue struct { //revive:disable-line:exported
1919

2020
// If 0, then it has not been added to a specific board in the project
2121
ProjectBoardID int64 `xorm:"INDEX"`
22+
23+
// the sorting order on the board
24+
Sorting int64 `xorm:"NOT NULL DEFAULT 0"`
2225
}
2326

2427
func init() {

0 commit comments

Comments
 (0)