Add generic AI job queue lifecycle
This commit is contained in:
@@ -18,6 +18,8 @@ CREATE TABLE IF NOT EXISTS ai_jobs (
|
||||
scheduled_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
||||
started_at TIMESTAMPTZ,
|
||||
completed_at TIMESTAMPTZ,
|
||||
worker_id TEXT,
|
||||
heartbeat_at TIMESTAMPTZ,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
||||
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
||||
idempotency_key TEXT
|
||||
|
||||
Reference in New Issue
Block a user