@factor-wise/prisma-schema 2.0.9 → 2.0.10
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 +14 -6
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -271,12 +271,19 @@ model appvedio {
|
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
model balance_history {
|
|
274
|
-
id
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
274
|
+
id Int @id @default(autoincrement())
|
|
275
|
+
leadID Int
|
|
276
|
+
customerID Int
|
|
277
|
+
balance_date DateTime? @default(now()) @db.Timestamp(0)
|
|
278
|
+
consentId String?
|
|
279
|
+
txnId String?
|
|
280
|
+
responsePayload Json?
|
|
281
|
+
createdAt DateTime? @default(now()) @db.Timestamp(0)
|
|
282
|
+
updatedAt DateTime? @default(now()) @db.Timestamp(0)
|
|
283
|
+
|
|
284
|
+
lead leads @relation(fields: [leadID], references: [leadID], onDelete: Cascade)
|
|
285
|
+
|
|
286
|
+
@@index([leadID])
|
|
280
287
|
}
|
|
281
288
|
|
|
282
289
|
model bank_ifsc {
|
|
@@ -1159,6 +1166,7 @@ model leads {
|
|
|
1159
1166
|
callAssignUser lms_users @relation("CallAssignedUser", fields: [callAssign], references: [userID])
|
|
1160
1167
|
collectionUser lms_users? @relation("CollectionAssignedUser", fields: [collectionUID], references: [userID])
|
|
1161
1168
|
sanctionUser lms_users @relation("SanctionAssignedUser", fields: [sanctionalloUID], references: [userID])
|
|
1169
|
+
balanceHistory balance_history[]
|
|
1162
1170
|
|
|
1163
1171
|
@@index([customerID], map: "leadcustomerID")
|
|
1164
1172
|
}
|