This commit is contained in:
@@ -10,6 +10,7 @@ model KYCApplication {
|
||||
id Int @id @default(autoincrement())
|
||||
uuid String @unique @default(uuid())
|
||||
userId String @map("user_id") @db.VarChar(255)
|
||||
teamUuid String? @map("team_uuid") @db.VarChar(100)
|
||||
teamName String @default("") @map("team_name") @db.VarChar(200)
|
||||
countryCode String @default("") @map("country_code") @db.VarChar(2)
|
||||
workflowStatus String @default("pending") @map("workflow_status") @db.VarChar(20)
|
||||
@@ -25,6 +26,7 @@ model KYCApplication {
|
||||
updatedAt DateTime @updatedAt @map("updated_at")
|
||||
|
||||
@@index([userId])
|
||||
@@index([teamUuid])
|
||||
@@map("kyc_requests")
|
||||
}
|
||||
|
||||
@@ -32,6 +34,7 @@ model KYCProfile {
|
||||
id Int @id @default(autoincrement())
|
||||
uuid String @unique @default(uuid())
|
||||
userId String @map("user_id") @db.VarChar(255)
|
||||
teamUuid String? @map("team_uuid") @db.VarChar(100)
|
||||
teamName String @default("") @map("team_name") @db.VarChar(200)
|
||||
countryCode String @default("") @map("country_code") @db.VarChar(2)
|
||||
workflowStatus String @default("pending") @map("workflow_status") @db.VarChar(20)
|
||||
@@ -47,6 +50,7 @@ model KYCProfile {
|
||||
updatedAt DateTime @updatedAt @map("updated_at")
|
||||
|
||||
@@index([userId])
|
||||
@@index([teamUuid])
|
||||
@@map("kyc_monitoring")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user