improvement: all demo bugs fixed. give me more baby.
This commit is contained in:
@@ -195,6 +195,7 @@ model LabCase {
|
||||
sortOrder Int
|
||||
destinationOrganizationId String?
|
||||
sentAt DateTime?
|
||||
isImportant Boolean @default(false)
|
||||
|
||||
treatment Treatment @relation(fields: [treatmentId], references: [id], onDelete: Cascade)
|
||||
details LabCaseDetail[]
|
||||
@@ -333,7 +334,6 @@ model LabCaseTask {
|
||||
workflowStepCode String
|
||||
stepOrder Int
|
||||
stepLabel String
|
||||
isImportant Boolean @default(false)
|
||||
status LabTaskStatus @default(IN_PROGRESS)
|
||||
lastStatusChangedByUserId String?
|
||||
lastStatusChangedAt DateTime?
|
||||
@@ -348,7 +348,6 @@ model LabCaseTask {
|
||||
|
||||
@@unique([labCaseId, treatmentDetailId, prosthesisTypeCode, stepOrder])
|
||||
@@index([labCaseId, status])
|
||||
@@index([labCaseId, isImportant])
|
||||
@@map("lab_case_tasks")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user