/*
  Warnings:

  - Made the column `customer_email` on table `court_booking_logs` required. This step will fail if there are existing NULL values in that column.
  - Made the column `customer_email` on table `court_bookings` required. This step will fail if there are existing NULL values in that column.

*/
-- Backfill existing NULL values with placeholder
UPDATE "court_booking_logs" SET "customer_email" = 'missing@playzer.app' WHERE "customer_email" IS NULL;
UPDATE "court_bookings" SET "customer_email" = 'missing@playzer.app' WHERE "customer_email" IS NULL;

-- AlterTable
ALTER TABLE "court_booking_logs" ALTER COLUMN "customer_email" SET NOT NULL;

-- AlterTable
ALTER TABLE "court_bookings" ALTER COLUMN "customer_email" SET NOT NULL;
