mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 10:11:35 +10:00
document status, dashboard
This commit is contained in:
@ -8,10 +8,11 @@ datasource db {
|
||||
}
|
||||
|
||||
model Document {
|
||||
id Int @id @default(autoincrement())
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
User User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
User User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
title String
|
||||
status DocumentStatus @default(DRAFT)
|
||||
document String
|
||||
Recipient Recipient[]
|
||||
}
|
||||
@ -85,3 +86,9 @@ enum SigningStatus {
|
||||
NOT_SIGNED
|
||||
SIGNED
|
||||
}
|
||||
|
||||
enum DocumentStatus {
|
||||
DRAFT
|
||||
PENDING
|
||||
COMPLETED
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user