12 lines
374 B
SQL
12 lines
374 B
SQL
/*
|
|
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';
|