chore: Update chore detail query to include notes in result

This commit is contained in:
Mo Tarbin 2024-07-07 00:26:08 -04:00
parent c92cdb427d
commit 010db330a4
4 changed files with 60 additions and 9 deletions

View file

@ -80,5 +80,6 @@ type ChoreDetail struct {
LastCompletedDate *time.Time `json:"lastCompletedDate" gorm:"column:last_completed_date"`
LastCompletedBy *int `json:"lastCompletedBy" gorm:"column:last_completed_by"`
TotalCompletedCount int `json:"totalCompletedCount" gorm:"column:total_completed"`
Notes *string `json:"notes" gorm:"column:notes"`
CreatedBy int `json:"createdBy" gorm:"column:created_by"`
}