feat: add update status to step status
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 4s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 4s
This commit is contained in:
parent
a0bb23e1e8
commit
a0616be1f5
2 changed files with 3 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "RequestWorkStepStatus" ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;
|
||||
|
|
@ -1612,6 +1612,7 @@ model RequestWork {
|
|||
model RequestWorkStepStatus {
|
||||
step Int
|
||||
workStatus RequestWorkStatus @default(Pending)
|
||||
updatedAt DateTime @default(now()) @updatedAt
|
||||
|
||||
requestWork RequestWork @relation(fields: [requestWorkId], references: [id], onDelete: Cascade)
|
||||
requestWorkId String
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue