feat: Implement document upload and verification workflow by expanding document statuses, adding verification metadata, and introducing a mandatory flag for documents.

This commit is contained in:
Achintha Isuru
2026-02-26 15:45:55 -05:00
parent df71deb698
commit 050072bd93
3 changed files with 85 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ type Document @table(name: "documents") {
name: String!
description: String
documentType: DocumentType!
isMandatory: Boolean @default(expr: "false")
createdAt: Timestamp @default(expr: "request.time")
updatedAt: Timestamp @default(expr: "request.time")
createdBy: String