Add description field to ChoreDetail model and repository methods
This commit is contained in:
parent
498caab581
commit
8f3dd068c9
2 changed files with 18 additions and 3 deletions
|
@ -120,6 +120,7 @@ type Tag struct {
|
|||
type ChoreDetail struct {
|
||||
ID int `json:"id" gorm:"column:id"`
|
||||
Name string `json:"name" gorm:"column:name"`
|
||||
Description *string `json:"description" gorm:"column:description"`
|
||||
FrequencyType string `json:"frequencyType" gorm:"column:frequency_type"`
|
||||
NextDueDate *time.Time `json:"nextDueDate" gorm:"column:next_due_date"`
|
||||
AssignedTo int `json:"assignedTo" gorm:"column:assigned_to"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue