feat(analytics): added in backend anaylitics
This commit is contained in:
14
migrations/0048_little_amazoness.sql
Normal file
14
migrations/0048_little_amazoness.sql
Normal 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
|
||||
);
|
||||
1
migrations/0049_futuristic_silk_fever.sql
Normal file
1
migrations/0049_futuristic_silk_fever.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE "scan_log" RENAME COLUMN "add_Date" TO "add_date";
|
||||
2243
migrations/meta/0048_snapshot.json
Normal file
2243
migrations/meta/0048_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
2243
migrations/meta/0049_snapshot.json
Normal file
2243
migrations/meta/0049_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user