From 600d30abbd5906de2dad38f9812a1d5c0163bfc9 Mon Sep 17 00:00:00 2001 From: sdraris Date: Mon, 8 Sep 2025 10:49:43 +0200 Subject: [PATCH] children entity (forgot to push it before... --- src/entities/children.entity.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/entities/children.entity.ts b/src/entities/children.entity.ts index 645c3d9..ae85ff7 100644 --- a/src/entities/children.entity.ts +++ b/src/entities/children.entity.ts @@ -31,11 +31,11 @@ export class Children { }) status: StatutEnfantType; - @Column({ name: 'prenom', length: 100 }) - first_name: string; + @Column({ name: 'prenom', length: 100, nullable: true }) + first_name?: string; - @Column({ name: 'nom', length: 100 }) - last_name: string; + @Column({ name: 'nom', length: 100, nullable: true }) + last_name?: string; @Column({ type: 'enum',