feat: custom installments (#4)
* feat: add database schema * feat: add custom installments payload * chore: migrations
This commit is contained in:
parent
56de83a181
commit
9a81f1c9ef
3 changed files with 5 additions and 2 deletions
|
|
@ -0,0 +1,2 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "QuotationPaySplit" ADD COLUMN "name" TEXT;
|
||||
|
|
@ -1195,6 +1195,7 @@ model QuotationPaySplit {
|
|||
id String @id @default(cuid())
|
||||
|
||||
no Int
|
||||
name String?
|
||||
amount Float
|
||||
|
||||
quotation Quotation? @relation(fields: [quotationId], references: [id], onDelete: Cascade)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue