Files
mtusi2026lab7/migrations/007_attachment_outbox.sql
T
Khakimov Dmitrij 2a7418fc45
Skeleton contracts / contracts (pull_request) Blocked by required conditions
lab 7 done
2026-11-29 21:59:16 +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;