Skip to content

Commit

Permalink
email nullable as true in users entity
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuvinay89 committed Nov 28, 2024
1 parent 2113b75 commit 99c9df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/users/entity/user.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 99c9df5

Please sign in to comment.