add document title

This commit is contained in:
Timur Ercan
2023-01-25 10:16:49 +01:00
parent a4fcb12d67
commit b261cb59ce

View File

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