fix: auth otp flow + remove generated

This commit is contained in:
SauravDhakal
2026-04-05 16:19:19 +05:45
parent 4905c6f1d1
commit ab8b2ef353
27 changed files with 340 additions and 8425 deletions

View File

@@ -21,6 +21,14 @@ model User {
@@map("user")
}
model UserOTP {
email String @unique
otp Int
generatedOn DateTime
@@map("user_otp")
}
enum USER_ROLE {
superadmin
user