9 lines
331 B
SQL
9 lines
331 B
SQL
CREATE TABLE "email_webhook_events" (
|
|
"id" text PRIMARY KEY,
|
|
"provider_id" text NOT NULL,
|
|
"outcome" text NOT NULL,
|
|
"occurred_at" timestamp with time zone NOT NULL,
|
|
"received_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
);
|
|
CREATE INDEX "email_webhook_events_provider_idx" ON "email_webhook_events" ("provider_id");
|