@factor-wise/prisma-schema 2.0.11 → 2.0.12
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 +10 -8
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1343,6 +1343,7 @@ model loan {
|
|
|
1343
1343
|
allocated_by String? @db.VarChar(64)
|
|
1344
1344
|
acutalDisbursalAmount Int?
|
|
1345
1345
|
exported Boolean @default(false)
|
|
1346
|
+
disbursement_request disbursement_requests?
|
|
1346
1347
|
lead leads @relation(fields: [leadID], references: [leadID])
|
|
1347
1348
|
}
|
|
1348
1349
|
|
|
@@ -2308,18 +2309,19 @@ model bankstatement {
|
|
|
2308
2309
|
}
|
|
2309
2310
|
|
|
2310
2311
|
model disbursement_requests {
|
|
2311
|
-
id BigInt
|
|
2312
|
-
|
|
2313
|
-
fund_account_id String
|
|
2314
|
-
amount Decimal
|
|
2312
|
+
id BigInt @id @default(autoincrement())
|
|
2313
|
+
loanId Int @unique()
|
|
2314
|
+
fund_account_id String @db.VarChar(50)
|
|
2315
|
+
amount Decimal @db.Decimal(12, 2)
|
|
2315
2316
|
status disbursement_requests_status
|
|
2316
|
-
razorpay_payout_id String?
|
|
2317
|
-
action String?
|
|
2317
|
+
razorpay_payout_id String? @db.VarChar(50)
|
|
2318
|
+
action String? @db.VarChar(50)
|
|
2318
2319
|
performed_by BigInt?
|
|
2319
2320
|
payload Json?
|
|
2320
2321
|
response Json?
|
|
2321
|
-
|
|
2322
|
-
|
|
2322
|
+
loan loan @relation(fields: [loanId], references: [id])
|
|
2323
|
+
updated_at DateTime? @default(now()) @db.Timestamp(0)
|
|
2324
|
+
created_at DateTime? @default(now()) @db.Timestamp(0)
|
|
2323
2325
|
}
|
|
2324
2326
|
|
|
2325
2327
|
enum usersgoogle_oauth_provider {
|