This commit is contained in:
ari
2025-12-09 10:13:50 +07:00
parent 1740327814
commit 6811ef0623
2 changed files with 3 additions and 1 deletions
@@ -0,0 +1,2 @@
-- Modify "ProcedureReport" table
ALTER TABLE "public"."ProcedureReport" ALTER COLUMN "Nurse_Name" TYPE text;
@@ -18,7 +18,7 @@ type ProcedureReport struct {
Assistant_Name string `json:"assistant_name"`
Instrumentor_Name string `json:"instrumentor_name"`
Diagnose *string `json:"diagnose" gorm:"size:1024"`
Nurse_Name string `json:"nurse_name" gorm:"size:10"`
Nurse_Name string `json:"nurse_name"`
Anesthesia_Doctor_Code *string `json:"anesthesia_doctor_code" gorm:"size:10"`
Anesthesia_Doctor *ed.Doctor `json:"anesthesia,omitempty" gorm:"foreignKey:Anesthesia_Doctor_Code;references:Code"`
Anesthesia_Nurse_Name *string `json:"anesthesia_nurse_name"`