nidus-sync/db/migrations/00144_lob_events.sql
Eli Ribble 0ce3420792
Save all lob events to the database
They're pretty raw, but this will help us to understand what we can
collect
2026-04-21 22:24:12 +00:00

12 lines
241 B
SQL

-- +goose Up
CREATE SCHEMA lob;
CREATE TABLE lob.event (
created TIMESTAMP WITHOUT TIME ZONE NOT NULL,
body JSONB NOT NULL,
id TEXT NOT NULL,
type_ TEXT NOT NULL,
PRIMARY KEY(id)
);
-- +goose Down
DROP TABLE lob.event;
DROP SCHEMA lob;