- Implemented email confirmation for admin and public bookings. - Added customerEmail field to booking schemas and services. - Created email templates for booking confirmation, cancellation, and no-show notifications. - Updated booking handlers to send emails upon booking creation and status updates. - Enhanced frontend forms to capture customer email during booking creation.
15 lines
376 B
SQL
15 lines
376 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the `onboarding_requests` table. If the table is not empty, all the data it contains will be lost.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE "court_booking_logs" ADD COLUMN "customer_email" VARCHAR(254);
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "court_bookings" ADD COLUMN "customer_email" VARCHAR(254);
|
|
|
|
-- DropTable
|
|
DROP TABLE "onboarding_requests";
|