@factor-wise/prisma-schema 2.0.122 → 2.0.123
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 +23 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -2971,6 +2971,7 @@ model credit_improve_customer {
|
|
|
2971
2971
|
step String? @db.VarChar(255)
|
|
2972
2972
|
customer customer @relation(fields: [customerID], references: [customerID])
|
|
2973
2973
|
creaditImproveLeads credit_improve_leads[]
|
|
2974
|
+
creditImproveEsigns credit_improve_esign[]
|
|
2974
2975
|
|
|
2975
2976
|
@@index([mobile], map: "idx_customer_mobile")
|
|
2976
2977
|
@@index([pancard], map: "idx_customer_pancard")
|
|
@@ -3012,6 +3013,7 @@ model credit_improve_leads {
|
|
|
3012
3013
|
creditImproveLoan credit_improve_loan?
|
|
3013
3014
|
creditImproveCollections credit_improve_collection[] @relation("CreditImproveCollectionToLead")
|
|
3014
3015
|
creditImprovePayout credit_improve_payout?
|
|
3016
|
+
creditImproveEsigns credit_improve_esign?
|
|
3015
3017
|
|
|
3016
3018
|
@@index([customerID], map: "idx_customerID")
|
|
3017
3019
|
@@index([status], map: "idx_status")
|
|
@@ -3156,6 +3158,27 @@ model credit_improve_PayoutStatusHistory {
|
|
|
3156
3158
|
payout credit_improve_payout @relation(fields: [payoutId], references: [id])
|
|
3157
3159
|
}
|
|
3158
3160
|
|
|
3161
|
+
model credit_improve_esign {
|
|
3162
|
+
id Int @id @default(autoincrement())
|
|
3163
|
+
customerID Int
|
|
3164
|
+
leadID Int @unique
|
|
3165
|
+
documentHash String?
|
|
3166
|
+
documentUrl String?
|
|
3167
|
+
signatureData String? @db.LongText
|
|
3168
|
+
status String @default("PENDING")
|
|
3169
|
+
consentAccepted Boolean @default(false)
|
|
3170
|
+
createdAt DateTime @default(now())
|
|
3171
|
+
signedAt DateTime?
|
|
3172
|
+
updatedAt DateTime @updatedAt
|
|
3173
|
+
ipAddress String?
|
|
3174
|
+
userAgent String?
|
|
3175
|
+
leads credit_improve_leads @relation(fields: [leadID], references: [leadID])
|
|
3176
|
+
customer credit_improve_customer @relation(fields: [customerID], references: [ID])
|
|
3177
|
+
|
|
3178
|
+
@@index([customerID])
|
|
3179
|
+
@@index([leadID])
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3159
3182
|
enum usersgoogle_oauth_provider {
|
|
3160
3183
|
google
|
|
3161
3184
|
facebook
|