feat(db): add security question and backup email recovery fields to Merchant schema
This commit is contained in:
1 parent
ae194d756a
commit
8b994ee607
1 file changed
+10
-7
@@ -11,13 +11,16 @@ datasource db {
|
||||
}
|
||||
|
||||
model Merchant {
|
||||
id String @id @default(uuid())
|
||||
phone String @unique
|
||||
fullName String
|
||||
pinHash String?
|
||||
role String @default("MERCHANT") // MERCHANT, ADMIN, B2B_PARTNER
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
id String @id @default(uuid())
|
||||
phone String @unique
|
||||
fullName String
|
||||
pinHash String?
|
||||
securityQuestion String? // e.g. "PET_NAME", "MOTHER_MAIDEN_NAME", "FAVORITE_SNACK"
|
||||
securityAnswerHash String?
|
||||
backupEmail String?
|
||||
role String @default("MERCHANT") // MERCHANT, ADMIN, B2B_PARTNER
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
stores Store[]
|
||||
|
||||
|
||||
Reference in new issue
Block a user