feat: allow for the deletion of any document (#711)

Allow for the deletion of any document with notifications of document cancellation for pending documents.
This commit is contained in:
Sushant
2023-12-06 05:41:51 +05:30
committed by GitHub
parent 8ab1b0cf6b
commit 2068d980ff
26 changed files with 913 additions and 132 deletions

View File

@ -135,6 +135,7 @@ model Document {
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
completedAt DateTime?
deletedAt DateTime?
@@unique([documentDataId])
@@index([userId])