feat: add more metadata for payment
This commit is contained in:
parent
4042cbcea4
commit
710382d544
2 changed files with 14 additions and 3 deletions
|
|
@ -1524,8 +1524,11 @@ model Payment {
|
|||
|
||||
paymentStatus PaymentStatus
|
||||
|
||||
amount Float
|
||||
date DateTime?
|
||||
amount Float
|
||||
date DateTime?
|
||||
channel String?
|
||||
account String?
|
||||
reference String?
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
createdBy User? @relation(name: "PaymentCreatedByUser", fields: [createdByUserId], references: [id], onDelete: SetNull)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue