added prismAdapter for lucia
This commit is contained in:
parent
7ecfb15818
commit
227fe5ae14
5 changed files with 7797 additions and 25 deletions
|
|
@ -28,4 +28,12 @@ model Post {
|
|||
published Boolean @default(false)
|
||||
author User @relation(fields: [authorId], references: [id])
|
||||
authorId Int
|
||||
}
|
||||
}
|
||||
|
||||
model Session {
|
||||
id String @id
|
||||
userId String
|
||||
expiresAt DateTime
|
||||
|
||||
user User @relation(references: [id], fields: [userId], onDelete: Cascade)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue