1
0

Added color field to tasks

This commit is contained in:
kolaente
2019-04-30 11:26:37 +02:00
parent 733d0be753
commit 24704bd4ed
8 changed files with 118 additions and 15 deletions

View File

@ -52,6 +52,8 @@ type ListTask struct {
Assignees []*User `xorm:"-" json:"assignees"`
// An array of labels which are associated with this task.
Labels []*Label `xorm:"-" json:"labels"`
// The task color in hex
HexColor string `xorm:"varchar(6) null" json:"hexColor" valid:"runelength(0|6)" maxLength:"6"`
Sorting string `xorm:"-" json:"-" query:"sort"` // Parameter to sort by
StartDateSortUnix int64 `xorm:"-" json:"-" query:"startdate"`