Add password login, set-password, business images migration, and user serialization.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-23 12:10:30 +03:30
co-authored by Cursor
parent 715ca585a8
commit 97a9ee022f
11 changed files with 290 additions and 36 deletions
+3
View File
@@ -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[];