Add missing `sorting` column in `project_issue` table (#19635)

pull/19641/head
wxiaoguang 3 years ago committed by GitHub
parent 3ece9d5794
commit 994257d266
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      models/project/issue.go

@ -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 // If 0, then it has not been added to a specific board in the project
ProjectBoardID int64 `xorm:"INDEX"` ProjectBoardID int64 `xorm:"INDEX"`
// the sorting order on the board
Sorting int64 `xorm:"NOT NULL DEFAULT 0"`
} }
func init() { func init() {

Loading…
Cancel
Save