🔧 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.
This commit is contained in:
@@ -4,16 +4,16 @@ enum ROLE {
|
||||
}
|
||||
|
||||
model Account {
|
||||
id String @id @default(uuid())
|
||||
email String @unique
|
||||
password String
|
||||
role ROLE @default(USER)
|
||||
lastOtp String?
|
||||
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())
|
||||
isDeleted Boolean @default(false)
|
||||
isAccountVerified Boolean @default(false)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @default(now())
|
||||
|
||||
profile Profile?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user