feat(analytics): added in backend anaylitics

This commit is contained in:
2026-05-07 10:20:50 -05:00
parent e9b0101095
commit 9edafc9d28
21 changed files with 4766 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
CREATE TABLE "analytics" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"created_at" timestamp DEFAULT now() NOT NULL,
"method" text NOT NULL,
"route_pattern" text NOT NULL,
"actual_path" text NOT NULL,
"status_code" integer NOT NULL,
"duration_ms" integer NOT NULL,
"module" text,
"user_id" text,
"user_email" text,
"ip_address" text,
"user_agent" text
);

View File

@@ -0,0 +1 @@
ALTER TABLE "scan_log" RENAME COLUMN "add_Date" TO "add_date";

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -337,6 +337,20 @@
"when": 1778068577325,
"tag": "0047_spotty_queen_noir",
"breakpoints": true
},
{
"idx": 48,
"version": "7",
"when": 1778165976086,
"tag": "0048_little_amazoness",
"breakpoints": true
},
{
"idx": 49,
"version": "7",
"when": 1778166074209,
"tag": "0049_futuristic_silk_fever",
"breakpoints": true
}
]
}