Add password login, set-password, business images migration, and user serialization.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -32,6 +32,9 @@ export class UserEntity {
|
||||
@Column({ default: true })
|
||||
isActive!: boolean;
|
||||
|
||||
@Column({ type: 'varchar', nullable: true, length: 255, select: false })
|
||||
passwordHash!: string | null;
|
||||
|
||||
@OneToMany(() => BusinessEntity, (business) => business.owner)
|
||||
ownedBusinesses!: BusinessEntity[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user