/*
  Warnings:

  - You are about to drop the column `seats` on the `booking` table. All the data in the column will be lost.
  - Added the required column `date` to the `booking` table without a default value. This is not possible if the table is not empty.

*/
-- AlterTable
ALTER TABLE "booking" DROP COLUMN "seats",
ADD COLUMN     "date" TIMESTAMP(3) NOT NULL,
ADD COLUMN     "numberOfGuests" INTEGER NOT NULL DEFAULT 1,
ADD COLUMN     "totalPrice" INTEGER NOT NULL DEFAULT 0,
ALTER COLUMN "status" SET DEFAULT 'CONFIRMED';

-- CreateIndex
CREATE INDEX "booking_date_idx" ON "booking"("date");
