aboutsummaryrefslogtreecommitdiffstats
path: root/internal/chore/model
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-07 00:26:08 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-07 00:26:08 -0400
commit010db330a46ad32daf30400283971cd4e9835e1d (patch)
tree83d169e5a73345e8ce2492568366432997a1199b /internal/chore/model
parentc92cdb427d050456769f520cdcc4ee10db895ad9 (diff)
downloaddonetick-010db330a46ad32daf30400283971cd4e9835e1d.tar.gz
donetick-010db330a46ad32daf30400283971cd4e9835e1d.tar.bz2
donetick-010db330a46ad32daf30400283971cd4e9835e1d.zip
chore: Update chore detail query to include notes in result
Diffstat (limited to '')
-rw-r--r--internal/chore/model/model.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/chore/model/model.go b/internal/chore/model/model.go
index 2e7ee90..90f6c29 100644
--- a/internal/chore/model/model.go
+++ b/internal/chore/model/model.go
@@ -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"`
}