aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-05-06 22:25:59 +0800
committerGitHub <noreply@github.com>2022-05-06 22:25:59 +0800
commit994257d266af3b4829ba6dfa4db5f28834a7de08 (patch)
tree4ca5554a022f1ce25ba0b876bc93d93ff29ea865 /models
parent3ece9d5794420f9f11b2d0628dfe1ca83d24a357 (diff)
downloadgitea-994257d266af3b4829ba6dfa4db5f28834a7de08.tar.gz
gitea-994257d266af3b4829ba6dfa4db5f28834a7de08.zip
Add missing `sorting` column in `project_issue` table (#19635)
Diffstat (limited to 'models')
-rw-r--r--models/project/issue.go3
1 files changed, 3 insertions, 0 deletions
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() {