Skip to content

Commit

Permalink
Add missing sorting column in project_issue table (#19635)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang authored May 6, 2022
1 parent 3ece9d5 commit 994257d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions models/project/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ type ProjectIssue struct { //revive:disable-line:exported

// If 0, then it has not been added to a specific board in the project
ProjectBoardID int64 `xorm:"INDEX"`

// the sorting order on the board
Sorting int64 `xorm:"NOT NULL DEFAULT 0"`
}

func init() {
Expand Down

0 comments on commit 994257d

Please sign in to comment.