| // Code generated by sqlc. DO NOT EDIT. | |
| // versions: | |
| // sqlc v1.15.0 | |
| package db | |
| import ( | |
| "database/sql" | |
| "time" | |
| "github.com/google/uuid" | |
| ) | |
| type Schedule struct { | |
| ID int32 | |
| WorkflowName string | |
| WorkflowParams sql.NullString | |
| Spec string | |
| Once time.Time | |
| IntervalMinutes int32 | |
| CreatedAt time.Time | |
| UpdatedAt time.Time | |
| } | |
| type Task struct { | |
| WorkflowID uuid.UUID | |
| Name string | |
| Finished bool | |
| Result sql.NullString | |
| Error sql.NullString | |
| CreatedAt time.Time | |
| UpdatedAt time.Time | |
| ApprovedAt sql.NullTime | |
| ReadyForApproval bool | |
| Started bool | |
| RetryCount int32 | |
| } | |
| type TaskLog struct { | |
| ID int32 | |
| WorkflowID uuid.UUID | |
| TaskName string | |
| Body string | |
| CreatedAt time.Time | |
| UpdatedAt time.Time | |
| } | |
| type Workflow struct { | |
| ID uuid.UUID | |
| Params sql.NullString | |
| Name sql.NullString | |
| CreatedAt time.Time | |
| UpdatedAt time.Time | |
| Finished bool | |
| Output string | |
| Error string | |
| ScheduleID sql.NullInt32 | |
| } |