mirror of
https://github.com/bitbaum/heidi.git
synced 2026-12-04 05:37:48 +01:00
Claude-Session: https://claude.ai/code/session_019MDtmvb6xi489TfZMg7n9T Co-authored-by: Claude <noreply@anthropic.com>
11 lines
413 B
SQL
11 lines
413 B
SQL
CREATE TABLE "error_events" (
|
|
"hash" text PRIMARY KEY NOT NULL,
|
|
"route" text NOT NULL,
|
|
"name" text NOT NULL,
|
|
"message" text NOT NULL,
|
|
"count" integer DEFAULT 1 NOT NULL,
|
|
"first_seen" timestamp with time zone DEFAULT now() NOT NULL,
|
|
"last_seen" timestamp with time zone DEFAULT now() NOT NULL
|
|
);
|
|
--> statement-breakpoint
|
|
CREATE INDEX "error_events_last_seen_idx" ON "error_events" USING btree ("last_seen"); |