From 685f50fa895bc43cf33b30b7e145e3bd1514ab65 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 6 May 2022 21:56:47 +0800 Subject: [PATCH] Add missing `sorting` column in `project_issue` table --- models/project/issue.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/project/issue.go b/models/project/issue.go index 0976185c495ad..6bde91668fae8 100644 --- a/models/project/issue.go +++ b/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 ProjectBoardID int64 `xorm:"INDEX"` + + // the sorting order on the board + Sorting int64 `xorm:"NOT NULL DEFAULT 0"` } func init() {