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

@@ -20,3 +20,8 @@ CREATE TABLE work_schedule (
CREATE INDEX idx_work_schedule_worker ON work_schedule (worker_id);
CREATE INDEX idx_work_schedule_worker_updated ON work_schedule (worker_id, updated_at DESC);
CREATE TABLE dead_letter (
schedule_id UUID PRIMARY KEY NOT NULL
, updated_at TIMESTAMPTZ NOT NULL default now()
);