Skip to content

Commit

Permalink
Add missing sorting column in project_issue table (go-gitea#19635)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang authored and AbdulrhmnGhanem committed Aug 23, 2022
1 parent 21a6aad commit e41165f
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 e41165f

Please sign in to comment.