fix emr patient unique

This commit is contained in:
avicenan
2026-05-25 20:00:01 +09:00
parent dc2e0a1cec
commit d405fbb2ef

View File

@ -31,7 +31,7 @@ export class EmrPatient {
@Column({ nullable: true, length: 256 })
full_name: string;
@Column({ nullable: true, length: 256 })
@Column({ nullable: true, length: 256, unique: true })
card_number: string;
@Column({ type: "date", nullable: false })