feat(db): allow multiple anamnesis history entries
convert history_of_present_illness, history_of_allergies, and history_of_illness columns to text arrays to store multiple values BREAKING CHANGE: history_of_* fields are now text arrays instead of text
This commit is contained in:
@ -34,14 +34,14 @@ export class Emranamnesis {
|
||||
@Column({ nullable: true, type: "text" })
|
||||
additional_complaint: string;
|
||||
|
||||
@Column({ nullable: true, type: "text" })
|
||||
history_of_present_illness: string;
|
||||
@Column({ nullable: true, type: "text", array: true })
|
||||
history_of_present_illness: string[];
|
||||
|
||||
@Column({ nullable: true, type: "text" })
|
||||
history_of_allergies: string;
|
||||
@Column({ nullable: true, type: "text", array: true })
|
||||
history_of_allergies: string[];
|
||||
|
||||
@Column({ nullable: true, type: "text" })
|
||||
history_of_illness: string;
|
||||
@Column({ nullable: true, type: "text", array: true })
|
||||
history_of_illness: string[];
|
||||
|
||||
@Column({
|
||||
type: "enum",
|
||||
|
||||
Reference in New Issue
Block a user