1
0

Remove min length for labels, lists, namespaces, tasks and teams

This commit is contained in:
kolaente
2020-06-17 18:52:23 +02:00
parent ca4d5000ed
commit 525a547500
7 changed files with 8 additions and 18 deletions

View File

@ -38,7 +38,7 @@ type Task struct {
// The unique, numeric id of this task.
ID int64 `xorm:"int(11) autoincr not null unique pk" json:"id" param:"listtask"`
// The task text. This is what you'll see in the list.
Title string `xorm:"varchar(250) not null" json:"title" valid:"runelength(3|250)" minLength:"3" maxLength:"250"`
Title string `xorm:"varchar(250) not null" json:"title" valid:"runelength(1|250)" minLength:"3" maxLength:"250"`
// The task description.
Description string `xorm:"longtext null" json:"description"`
// Whether a task is done or not.