chore: update field quotation
This commit is contained in:
parent
c27620c2b5
commit
59bb873b1c
3 changed files with 20 additions and 4 deletions
|
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `workerCount` on the `Quotation` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- CreateEnum
|
||||
CREATE TYPE "QuotationStatus" AS ENUM ('PaymentWait', 'PaymentSuccess');
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "Quotation" DROP COLUMN "workerCount",
|
||||
ADD COLUMN "quotationStatus" "QuotationStatus" NOT NULL DEFAULT 'PaymentWait';
|
||||
Loading…
Add table
Add a link
Reference in a new issue