refactor(logger): added in the db posting

This commit is contained in:
2025-12-29 06:26:40 -06:00
parent ea72fd10cd
commit 9efd6419b6
9 changed files with 1475 additions and 18 deletions

View File

@@ -0,0 +1,11 @@
CREATE TABLE "logs" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"level" text,
"module" text NOT NULL,
"subModule" text,
"message" text NOT NULL,
"stack" jsonb DEFAULT '[]'::jsonb,
"checked" boolean DEFAULT false,
"hostname" text,
"createdAt" timestamp DEFAULT now()
);