Stopped creating Project and Task with blank name
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package model
|
||||
|
||||
// Project represent a collection of related tasks (tags of Habitica)
|
||||
type Project struct {
|
||||
ID int64 `storm:"id,increment",json:"id"`
|
||||
Title string `storm:"index",json:"title"`
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package model
|
||||
|
||||
// Task represent a task - the building block of the TaskManager app
|
||||
type Task struct {
|
||||
ID int64 `storm:"id,increment",json:"id"`
|
||||
ProjectID int64 `storm:"index",json:"project_id"`
|
||||
|
||||
Reference in New Issue
Block a user