fix emr patient unique
This commit is contained in:
@ -31,7 +31,7 @@ export class EmrPatient {
|
|||||||
@Column({ nullable: true, length: 256 })
|
@Column({ nullable: true, length: 256 })
|
||||||
full_name: string;
|
full_name: string;
|
||||||
|
|
||||||
@Column({ nullable: true, length: 256 })
|
@Column({ nullable: true, length: 256, unique: true })
|
||||||
card_number: string;
|
card_number: string;
|
||||||
|
|
||||||
@Column({ type: "date", nullable: false })
|
@Column({ type: "date", nullable: false })
|
||||||
|
|||||||
Reference in New Issue
Block a user