crunch/crates/crunch-postgres/migrations/20231003181849_initial.sql
kjuulh bc28451f8d
feat: with tx on all
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-10-03 23:08:12 +02:00

9 lines
214 B
SQL

-- Add migration script here
CREATE TABLE outbox (
id UUID NOT NULL,
metadata JSONB NOT NULL,
content BYTEA NOT NULL,
inserted_time TIMESTAMPTZ NOT NULL DEFAULT now(),
state VARCHAR NOT NULL
);