diff --git a/models/issues/issue.go b/models/issues/issue.go index bc1f43d322..711168e772 100644 --- a/models/issues/issue.go +++ b/models/issues/issue.go @@ -78,8 +78,8 @@ type Issue struct { IsClosed bool `xorm:"INDEX"` StatusID int64 `xorm:"INDEX NOT NULL DEFAULT 0 'status_id'"` Status *IssueStatusDef `xorm:"-"` - PriorityID int64 `xorm:"INDEX NOT NULL DEFAULT 0 'priority_id'"` - Priority *IssuePriorityDef `xorm:"-"` + PriorityID int64 `xorm:"INDEX NOT NULL DEFAULT 0 'priority_id'"` + PriorityDef *IssuePriorityDef `xorm:"-"` IsRead bool `xorm:"-"` IsPull bool `xorm:"INDEX"` // Indicates whether is a pull request or not. PullRequest *PullRequest `xorm:"-"`