@factor-wise/prisma-schema 2.0.56 → 2.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisma/schema.prisma +17 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -699,6 +699,7 @@ model customer {
|
|
|
699
699
|
aiAgentCallLogs AIAgentCallLog[]
|
|
700
700
|
employmentHistory employment_history[]
|
|
701
701
|
profileInfo profile_info[]
|
|
702
|
+
finb_logs finb_logs[]
|
|
702
703
|
|
|
703
704
|
|
|
704
705
|
@@index([firstName], map: "firstName")
|
|
@@ -983,6 +984,22 @@ model profile_info {
|
|
|
983
984
|
@@index([status])
|
|
984
985
|
}
|
|
985
986
|
|
|
987
|
+
model finb_logs {
|
|
988
|
+
id Int @id @default(autoincrement())
|
|
989
|
+
customerID Int @unique
|
|
990
|
+
response Json?
|
|
991
|
+
type String
|
|
992
|
+
status String @default("pending") @db.VarChar(50)
|
|
993
|
+
createdDate DateTime @default(now()) @db.DateTime(0)
|
|
994
|
+
updated_at DateTime @updatedAt
|
|
995
|
+
customer customer @relation(fields: [customerID], references: [customerID])
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
@@index([customerID])
|
|
999
|
+
@@index([status])
|
|
1000
|
+
@@index([type])
|
|
1001
|
+
}
|
|
1002
|
+
|
|
986
1003
|
model facebook_lead {
|
|
987
1004
|
id Int @id
|
|
988
1005
|
lead_data String @db.LongText
|