@factor-wise/prisma-schema 2.0.47 → 2.0.49
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 +20 -2
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -642,9 +642,9 @@ model customer {
|
|
|
642
642
|
fatherName String? @db.VarChar(100)
|
|
643
643
|
gender customer_gender? @default(NA)
|
|
644
644
|
dob DateTime? @db.Date
|
|
645
|
-
mobile BigInt
|
|
645
|
+
mobile BigInt @unique
|
|
646
646
|
email String? @db.VarChar(100)
|
|
647
|
-
pancard String? @
|
|
647
|
+
pancard String? @unique
|
|
648
648
|
aadharNo BigInt?
|
|
649
649
|
password String @default("") @db.VarChar(20)
|
|
650
650
|
marrital String? @db.VarChar(10)
|
|
@@ -1231,6 +1231,7 @@ model leads {
|
|
|
1231
1231
|
eagreement eagreement?
|
|
1232
1232
|
employmentHistory employment_history[]
|
|
1233
1233
|
profileInfo profile_info[]
|
|
1234
|
+
criffsoftpull criffsoftpull?
|
|
1234
1235
|
|
|
1235
1236
|
@@index([customerID], map: "leadcustomerID")
|
|
1236
1237
|
}
|
|
@@ -2348,6 +2349,22 @@ model cibildata {
|
|
|
2348
2349
|
@@index([leadID, createdAt], map: "idx_lead_createdAt")
|
|
2349
2350
|
}
|
|
2350
2351
|
|
|
2352
|
+
model criffsoftpull{
|
|
2353
|
+
id Int @id @default(autoincrement())
|
|
2354
|
+
leadID Int @unique
|
|
2355
|
+
requestPayload Json
|
|
2356
|
+
responsePayload Json?
|
|
2357
|
+
status String @default("pending") @db.VarChar(50)
|
|
2358
|
+
createdAt DateTime? @default(now()) @db.Timestamp(0)
|
|
2359
|
+
updatedAt DateTime? @default(now()) @db.Timestamp(0)
|
|
2360
|
+
|
|
2361
|
+
|
|
2362
|
+
lead leads @relation(fields: [leadID], references: [leadID])
|
|
2363
|
+
|
|
2364
|
+
@@index([leadID])
|
|
2365
|
+
@@index([status])
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2351
2368
|
model loan_sequence {
|
|
2352
2369
|
id Int @id @default(autoincrement())
|
|
2353
2370
|
prefix String @unique(map: "uq_prefix") @db.VarChar(20)
|
|
@@ -2635,6 +2652,7 @@ enum collection_collectedMode {
|
|
|
2635
2652
|
HYPTO_Bank__Virtual_A_c @map("HYPTO Bank- Virtual A/c")
|
|
2636
2653
|
Razorpay_Bank @map("Razorpay Bank")
|
|
2637
2654
|
RAZORPAY_PAYMENT_GATEWAY @map("RAZORPAY PAYMENT GATEWAY")
|
|
2655
|
+
EASEBUZZ_PAYMENT_GATEWAY @map("EASEBUZZ PAYMENT GATEWAY")
|
|
2638
2656
|
GOOGLE_PAY @map("GOOGLE PAY")
|
|
2639
2657
|
CASHFREE_PAYMENT_GATEWAY @map("CASHFREE PAYMENT GATEWAY")
|
|
2640
2658
|
ICICI_BANK_1435 @map("ICICI BANK-1435")
|