update diet
This commit is contained in:
@ -18,11 +18,11 @@ export class EmrDiet {
|
|||||||
id: string;
|
id: string;
|
||||||
|
|
||||||
@ManyToOne(() => EmrPatient, { onDelete: "CASCADE" })
|
@ManyToOne(() => EmrPatient, { onDelete: "CASCADE" })
|
||||||
@JoinColumn({ name: "patient_id" })
|
@JoinColumn()
|
||||||
patient: EmrPatient;
|
patient: EmrPatient;
|
||||||
|
|
||||||
@OneToOne(() => EmrRegistration, { onDelete: "CASCADE" })
|
@OneToOne(() => EmrRegistration, { onDelete: "CASCADE" })
|
||||||
@JoinColumn({ name: "registration_id" })
|
@JoinColumn()
|
||||||
registration: EmrRegistration;
|
registration: EmrRegistration;
|
||||||
|
|
||||||
@Column({ nullable: true, type: "text" })
|
@Column({ nullable: true, type: "text" })
|
||||||
|
|||||||
Reference in New Issue
Block a user