cal.pub0.org/prisma/migrations/20210904162403_add_booking_.../migration.sql

6 lines
207 B
SQL

-- CreateEnum
CREATE TYPE "BookingStatus" AS ENUM ('cancelled', 'accepted', 'rejected', 'pending');
-- AlterTable
ALTER TABLE "Booking" ADD COLUMN "status" "BookingStatus" NOT NULL DEFAULT E'accepted';