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