fix: user registration with email support
Some checks failed
docker-push / build-and-push (push) Failing after 18s
docker-push / deploy (push) Has been skipped

This commit is contained in:
SpecialX
2025-11-28 19:29:49 +08:00
parent 210e791f76
commit d2468e9fca
178 changed files with 39 additions and 579 deletions

View File

@@ -29,6 +29,7 @@ enum MaterialType {
model User {
id String @id @default(uuid())
username String @unique @db.VarChar(50)
email String? @unique @db.VarChar(255)
password String? @db.VarChar(255) // Made optional for guest/demo purposes if needed
avatarUrl String? @db.VarChar(500)
role UserRole @default(CREATOR)