Files
quicklanch-server/prisma/schema/account.schema.prisma
T
abumahid 3f0ead4265 🔧 chore(account): update account module structure and email queue processing
- Enhanced account management with new validation and Swagger documentation.
- Updated Prisma schemas and migrations for the account and profile.
- Improved email handling mechanisms in the email queue system with new worker functionality.
- Adjusted Docker configurations and package dependencies for better integration.
2026-04-03 00:54:46 +06:00

20 lines
507 B
Plaintext

enum ROLE {
ADMIN
USER
}
model Account {
id String @id @default(uuid())
email String @unique
password String
role ROLE @default(USER)
lastOtp String?
lastOtpSendingTime DateTime?
isDeleted Boolean @default(false)
isAccountVerified Boolean @default(false)
createdAt DateTime @default(now())
updatedAt DateTime @default(now())
profile Profile?
}