@factor-wise/prisma-schema 2.0.61 → 2.0.62
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 +15 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1622,6 +1622,21 @@ model payout_accounts_log {
|
|
|
1622
1622
|
@@ignore
|
|
1623
1623
|
}
|
|
1624
1624
|
|
|
1625
|
+
model PaymentIdempotency {
|
|
1626
|
+
id Int @id @default(autoincrement())
|
|
1627
|
+
idempotencyKey String @unique
|
|
1628
|
+
paymentId String
|
|
1629
|
+
gateway String
|
|
1630
|
+
status String // PROCESSING | SUCCESS | FAILED
|
|
1631
|
+
requestPayload Json?
|
|
1632
|
+
responsePayload Json?
|
|
1633
|
+
|
|
1634
|
+
createdAt DateTime @default(now())
|
|
1635
|
+
updatedAt DateTime @updatedAt
|
|
1636
|
+
|
|
1637
|
+
@@index([paymentId])
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1625
1640
|
model Payout {
|
|
1626
1641
|
id Int @id @default(autoincrement())
|
|
1627
1642
|
razorpayPayoutId String? @unique
|