-- CreateEnum
CREATE TYPE "PageSize" AS ENUM ('LETTER', 'A4');

-- CreateTable
CREATE TABLE "pdf_settings" (
    "id" TEXT NOT NULL,
    "organizationName" TEXT NOT NULL DEFAULT 'VIP Coordinator',
    "logoUrl" TEXT,
    "accentColor" TEXT NOT NULL DEFAULT '#2c3e50',
    "tagline" TEXT,
    "contactEmail" TEXT NOT NULL DEFAULT 'contact@example.com',
    "contactPhone" TEXT NOT NULL DEFAULT '555-0100',
    "secondaryContactName" TEXT,
    "secondaryContactPhone" TEXT,
    "contactLabel" TEXT NOT NULL DEFAULT 'Questions or Changes?',
    "showDraftWatermark" BOOLEAN NOT NULL DEFAULT false,
    "showConfidentialWatermark" BOOLEAN NOT NULL DEFAULT false,
    "showTimestamp" BOOLEAN NOT NULL DEFAULT true,
    "showAppUrl" BOOLEAN NOT NULL DEFAULT false,
    "pageSize" "PageSize" NOT NULL DEFAULT 'LETTER',
    "showFlightInfo" BOOLEAN NOT NULL DEFAULT true,
    "showDriverNames" BOOLEAN NOT NULL DEFAULT true,
    "showVehicleNames" BOOLEAN NOT NULL DEFAULT true,
    "showVipNotes" BOOLEAN NOT NULL DEFAULT true,
    "showEventDescriptions" BOOLEAN NOT NULL DEFAULT true,
    "headerMessage" TEXT,
    "footerMessage" TEXT,
    "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
    "updatedAt" TIMESTAMP(3) NOT NULL,

    CONSTRAINT "pdf_settings_pkey" PRIMARY KEY ("id")
);
