chore: add verfication email for user profile
This commit is contained in:
@@ -50,6 +50,9 @@ export class User extends BaseEntity {
|
||||
|
||||
@Column({ type: "varchar", length: 100, nullable: true })
|
||||
profilePic: string;
|
||||
|
||||
@Column({ type: "boolean", default: false })
|
||||
emailVerified: boolean;
|
||||
//-----------------------------------------
|
||||
// @ManyToOne(() => Role, { eager: true, onDelete: "RESTRICT", nullable: false })
|
||||
// role: Role;
|
||||
|
||||
Reference in New Issue
Block a user