make document body nullable for dev

This commit is contained in:
Timur Ercan
2023-01-19 15:07:35 +01:00
parent fa6f513860
commit aa5e77d5fd

View File

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