Files
lst_v3/migrations/0067_low_bullseye.sql
Blake Matthes 47b149d1ea
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 4m26s
feat(dm): migrated all the dm topics
2026-06-26 11:05:17 -05:00

19 lines
662 B
SQL

CREATE TABLE "prod_audit_log" (
"id" serial PRIMARY KEY NOT NULL,
"audit_id" integer NOT NULL,
"actor_name" text NOT NULL,
"audit_created_date" timestamp with time zone NOT NULL,
"message" text NOT NULL,
"content" jsonb NOT NULL,
"status" text DEFAULT 'pending' NOT NULL,
"processed" boolean DEFAULT false,
"retry_count" integer DEFAULT 0 NOT NULL,
"next_retry_at" timestamp with time zone,
"error_message" text,
"error_stack" text,
"processed_at" timestamp with time zone,
"created_at" timestamp with time zone DEFAULT now(),
"updated_at" timestamp with time zone DEFAULT now(),
CONSTRAINT "prod_audit_log_audit_id_unique" UNIQUE("audit_id")
);