forked from mtusi2026/mtusi2026lab6
11 lines
269 B
SQL
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;
|