feat(logger): setup logger with discord and db logging
This commit is contained in:
11
migrations/0001_solid_kronos.sql
Normal file
11
migrations/0001_solid_kronos.sql
Normal 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()
|
||||
);
|
||||
Reference in New Issue
Block a user