feat: add dead letter queue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-01-19 11:33:38 +01:00
parent 1cf9d23491
commit 0b042780c3
13 changed files with 234 additions and 2 deletions

View File

@@ -9,6 +9,11 @@ import (
"github.com/jackc/pgx/v5/pgtype"
)
type DeadLetter struct {
ScheduleID uuid.UUID `json:"schedule_id"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type ModelSchedule struct {
ModelName string `json:"model_name"`
LastRun pgtype.Timestamptz `json:"last_run"`