mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
fix: updates from review
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- Made the column `readStatus` on table `Recipient` required. This step will fail if there are existing NULL values in that column.
|
||||
- Made the column `signingStatus` on table `Recipient` required. This step will fail if there are existing NULL values in that column.
|
||||
- Made the column `sendStatus` on table `Recipient` required. This step will fail if there are existing NULL values in that column.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "Recipient" ALTER COLUMN "readStatus" SET NOT NULL,
|
||||
ALTER COLUMN "signingStatus" SET NOT NULL,
|
||||
ALTER COLUMN "sendStatus" SET NOT NULL;
|
||||
@ -189,9 +189,9 @@ model Recipient {
|
||||
token String
|
||||
expired DateTime?
|
||||
signedAt DateTime?
|
||||
readStatus ReadStatus? @default(NOT_OPENED)
|
||||
signingStatus SigningStatus? @default(NOT_SIGNED)
|
||||
sendStatus SendStatus? @default(NOT_SENT)
|
||||
readStatus ReadStatus @default(NOT_OPENED)
|
||||
signingStatus SigningStatus @default(NOT_SIGNED)
|
||||
sendStatus SendStatus @default(NOT_SENT)
|
||||
Document Document? @relation(fields: [documentId], references: [id], onDelete: Cascade)
|
||||
Template Template? @relation(fields: [templateId], references: [id], onDelete: Cascade)
|
||||
Field Field[]
|
||||
|
||||
Reference in New Issue
Block a user