chore: add verfication email for user profile

This commit is contained in:
mahyargdz
2025-02-18 10:16:05 +03:30
parent ff96fd6c32
commit cad8e15941
15 changed files with 173 additions and 31 deletions
@@ -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;