All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 4m26s
19 lines
662 B
SQL
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")
|
|
);
|