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