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