From 994257d266af3b4829ba6dfa4db5f28834a7de08 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 6 May 2022 22:25:59 +0800 Subject: [PATCH] Add missing `sorting` column in `project_issue` table (#19635) --- models/project/issue.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/project/issue.go b/models/project/issue.go index 0976185c49..6bde91668f 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() {