12 lines
277 B
SQL
12 lines
277 B
SQL
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()
|
|
);
|