improvement: QRcode and shared link added to cases inorder to make it possible for staff users to share a case info with other staffs or other clinics.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "lab_cases" ADD COLUMN "accessToken" TEXT;
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "lab_cases_accessToken_key" ON "lab_cases"("accessToken");
|
||||
@@ -217,6 +217,7 @@ model LabCase {
|
||||
sentAt DateTime?
|
||||
dueDate DateTime?
|
||||
isImportant Boolean @default(false)
|
||||
accessToken String? @unique
|
||||
|
||||
treatment Treatment @relation(fields: [treatmentId], references: [id], onDelete: Cascade)
|
||||
details LabCaseDetail[]
|
||||
|
||||
Reference in New Issue
Block a user