cal.pub0.org/packages/prisma/migrations/20230330030031_add_payment_.../migration.sql

6 lines
180 B
SQL

-- CreateEnum
CREATE TYPE "PaymentOption" AS ENUM ('ON_BOOKING', 'HOLD');
-- AlterTable
ALTER TABLE "Payment" ADD COLUMN "paymentOption" "PaymentOption" DEFAULT 'ON_BOOKING';