document model

This commit is contained in:
Timur Ercan
2023-01-23 17:36:14 +01:00
parent a011ff146d
commit 40e5e78aff

View File

@ -10,7 +10,7 @@ datasource db {
model Document {
id Int @id @default(autoincrement())
userId Int
document Bytes?
document String
User User @relation(fields: [userId], references: [id], onDelete: Cascade)
Recipient Recipient[]
}