feat: add outbox

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-10-03 20:59:29 +02:00
parent 3648dce8e8
commit e774529b04
4 changed files with 46 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
-- 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,
);