feat: add ip record in telemetry
This commit is contained in:
parent
de844db986
commit
7b519b152f
@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "TelemetrySession" ADD COLUMN "ip" VARCHAR(45);
|
@ -187,6 +187,7 @@ model TelemetrySession {
|
||||
hostname String? @db.VarChar(100)
|
||||
browser String? @db.VarChar(20)
|
||||
os String? @db.VarChar(20)
|
||||
ip String? @db.VarChar(45)
|
||||
country String? @db.Char(2)
|
||||
subdivision1 String? @db.VarChar(20)
|
||||
subdivision2 String? @db.VarChar(50)
|
||||
|
@ -94,6 +94,7 @@ async function findSession(req: Request, url: string) {
|
||||
hostname,
|
||||
browser,
|
||||
os,
|
||||
ip,
|
||||
country,
|
||||
subdivision1,
|
||||
subdivision2,
|
||||
|
Loading…
Reference in New Issue
Block a user