refactor: add ip record in website session
This commit is contained in:
parent
7a3ef40b9e
commit
cb8b14b910
@ -83,6 +83,7 @@ model WebsiteSession {
|
||||
device String? @db.VarChar(20)
|
||||
screen String? @db.VarChar(11)
|
||||
language String? @db.VarChar(35)
|
||||
ip String? @db.VarChar(20)
|
||||
country String? @db.Char(2)
|
||||
subdivision1 String? @db.VarChar(20)
|
||||
subdivision2 String? @db.VarChar(50)
|
||||
|
@ -109,6 +109,7 @@ export async function findSession(req: Request): Promise<{
|
||||
device,
|
||||
screen,
|
||||
language,
|
||||
ip,
|
||||
country,
|
||||
subdivision1,
|
||||
subdivision2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user