Files
mtusi2026lab6/migrations/007_attachment_outbox.sql
2026-11-18 21:37:25 +03:00

11 lines
269 B
SQL

-- +goose Up
CREATE TABLE attachment_outbox (
job_id uuid PRIMARY KEY REFERENCES attachment_jobs(id),
available_at timestamptz NOT NULL DEFAULT clock_timestamp(),
published_at timestamptz,
stream_id text
);
-- +goose Down
DROP TABLE attachment_outbox;