refactor(logger): added in the db posting
This commit is contained in:
11
migrations/0000_ordinary_justice.sql
Normal file
11
migrations/0000_ordinary_justice.sql
Normal 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()
|
||||
);
|
||||
Reference in New Issue
Block a user