From 19b81b0a6cfd83e2b4b62fc260eebcbd4fb7870b Mon Sep 17 00:00:00 2001 From: avicenan Date: Wed, 11 Mar 2026 16:25:13 +0700 Subject: [PATCH] fixing --- src/entity/emr/emr_registration_outpatient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/emr/emr_registration_outpatient.ts b/src/entity/emr/emr_registration_outpatient.ts index 542f99a..7fad956 100644 --- a/src/entity/emr/emr_registration_outpatient.ts +++ b/src/entity/emr/emr_registration_outpatient.ts @@ -63,7 +63,7 @@ export class EmrRegistrationOutpatient { @ManyToOne(() => EmrRegistrationOutpatient, { onDelete: "SET NULL", nullable: true }) @JoinColumn() - appointment_id: EmrRegistrationOutpatient | null; + appointment: EmrRegistrationOutpatient | null; @Column() @CreateDateColumn()