Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Nov 13, 2023
1 parent d162d65 commit 6f49b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ type Task struct {
Statuses []map[string]any `db:"statuses" json:"statuses" validate:"required" description:"The task statuses."`
ForUser pgtype.Text `db:"for_user" json:"for_user" description:"The user this task is for."`
Expiry pgtype.Interval `db:"expiry" json:"expiry" validate:"required" description:"The task expiry."`
Status string `db:"status" json:"status" validate:"required" description:"The task status."`
State string `db:"state" json:"state" validate:"required" description:"The tasks current state (pending/completed etc)."`
CreatedAt pgtype.Timestamptz `db:"created_at" json:"created_at" description:"The time the task was created."`
}

0 comments on commit 6f49b75

Please sign in to comment.