refactor: session handler

This commit is contained in:
Huskydog9988
2025-04-03 19:15:33 -04:00
parent a8d681f99d
commit 3a50e3ebae
13 changed files with 189 additions and 168 deletions
+7 -2
View File
@@ -53,6 +53,11 @@ model Certificate {
}
model Session {
token String @id
data Json
token String @id
expiresAt DateTime
userId String
user User? @relation(fields: [userId], references: [id])
data Json // misc extra data
}