fix: auth otp flow + remove generated
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user