feat(logger): setup logger with discord and db logging

This commit is contained in:
2025-08-31 21:35:50 -05:00
parent fc3cfe999a
commit 2e51474a5e
13 changed files with 1577 additions and 20 deletions

View File

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