chore: add migration
This commit is contained in:
parent
3857de8d2b
commit
bc3e450a75
3 changed files with 6 additions and 1 deletions
|
|
@ -0,0 +1,2 @@
|
|||
-- AlterEnum
|
||||
ALTER TYPE "QuotationStatus" ADD VALUE 'PaymentPending';
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "Quotation" ALTER COLUMN "quotationStatus" SET DEFAULT 'PaymentPending';
|
||||
|
|
@ -1011,6 +1011,7 @@ model WorkProduct {
|
|||
}
|
||||
|
||||
enum QuotationStatus {
|
||||
PaymentPending
|
||||
PaymentWait
|
||||
PaymentSuccess
|
||||
ProcessComplete
|
||||
|
|
@ -1032,7 +1033,7 @@ model Quotation {
|
|||
status Status @default(CREATED)
|
||||
statusOrder Int @default(0)
|
||||
|
||||
quotationStatus QuotationStatus @default(PaymentWait)
|
||||
quotationStatus QuotationStatus @default(PaymentPending)
|
||||
|
||||
code String
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue