@factor-wise/prisma-schema 1.0.23 → 1.0.25
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 +3 -3
- package/prisma/schema.prisma +18 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factor-wise/prisma-schema",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"description": "Shared Prisma schema and generated client for Factor Wise projects",
|
|
5
5
|
"main": "generated/client/index.js",
|
|
6
6
|
"types": "generated/client/index.d.ts",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"author": "Factor Wise",
|
|
27
27
|
"license": "ISC",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@prisma/client": "^6.
|
|
29
|
+
"@prisma/client": "^6.19.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"prisma": "^6.
|
|
32
|
+
"prisma": "^6.19.0"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/prisma/schema.prisma
CHANGED
|
@@ -2134,6 +2134,7 @@ model account_agg {
|
|
|
2134
2134
|
pushDataReceivedAt DateTime? @db.DateTime(0)
|
|
2135
2135
|
createdAt DateTime? @default(now()) @db.Timestamp(0)
|
|
2136
2136
|
processed_data Json?
|
|
2137
|
+
latest_bankstatement Int?
|
|
2137
2138
|
}
|
|
2138
2139
|
|
|
2139
2140
|
model cibildata {
|
|
@@ -2254,22 +2255,23 @@ model emandate_charge {
|
|
|
2254
2255
|
}
|
|
2255
2256
|
|
|
2256
2257
|
model bankstatement {
|
|
2257
|
-
id
|
|
2258
|
-
customerID
|
|
2259
|
-
leadID
|
|
2260
|
-
tempLeadID
|
|
2261
|
-
pushData
|
|
2262
|
-
documentFile
|
|
2263
|
-
password
|
|
2264
|
-
status
|
|
2265
|
-
verifiedBy
|
|
2266
|
-
verifiedDate
|
|
2267
|
-
uploadBy
|
|
2268
|
-
uploadedDate
|
|
2269
|
-
analyser_data
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2258
|
+
id Int @id @default(autoincrement())
|
|
2259
|
+
customerID Int
|
|
2260
|
+
leadID Int?
|
|
2261
|
+
tempLeadID Int
|
|
2262
|
+
pushData Json?
|
|
2263
|
+
documentFile String? @db.VarChar(255)
|
|
2264
|
+
password String? @db.VarChar(255)
|
|
2265
|
+
status Boolean? @default(false)
|
|
2266
|
+
verifiedBy Int?
|
|
2267
|
+
verifiedDate DateTime? @db.Date
|
|
2268
|
+
uploadBy Int?
|
|
2269
|
+
uploadedDate DateTime? @db.Date
|
|
2270
|
+
analyser_data Json?
|
|
2271
|
+
user_requirement Json?
|
|
2272
|
+
customer customer? @relation(fields: [customerID], references: [customerID], onDelete: NoAction, onUpdate: NoAction, map: "bankstatement_ibfk_1")
|
|
2273
|
+
leads leads? @relation(fields: [leadID], references: [leadID], onDelete: NoAction, onUpdate: NoAction, map: "bankstatement_ibfk_3")
|
|
2274
|
+
tempLead tempLead @relation(fields: [tempLeadID], references: [id], onDelete: NoAction, onUpdate: NoAction, map: "bankstatement_ibfk_4")
|
|
2273
2275
|
|
|
2274
2276
|
@@index([customerID], map: "customerID")
|
|
2275
2277
|
@@index([leadID], map: "leadID")
|