From 99c9df598b2b4456e4ab5f43d7f40dded3c09777 Mon Sep 17 00:00:00 2001 From: vishnu vinay Date: Thu, 28 Nov 2024 14:57:43 +0530 Subject: [PATCH] email nullable as true in users entity --- src/modules/users/entity/user.entity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/users/entity/user.entity.ts b/src/modules/users/entity/user.entity.ts index 0646417..e01f9f1 100644 --- a/src/modules/users/entity/user.entity.ts +++ b/src/modules/users/entity/user.entity.ts @@ -22,7 +22,7 @@ import { @Column({ length: 50 }) lastName: string; - @Column({ length: 100, unique: true }) + @Column({ length: 100, unique: true ,nullable: true }) email: string; @Column({ length: 100, nullable: true })