-- AlterTable: guest donations + optional donor contact (CRM / disclosure tooling)
ALTER TABLE "Donation" DROP CONSTRAINT IF EXISTS "Donation_userId_fkey";

ALTER TABLE "Donation" ALTER COLUMN "userId" DROP NOT NULL;

ALTER TABLE "Donation" ADD COLUMN "donorEmail" TEXT;
ALTER TABLE "Donation" ADD COLUMN "donorName" TEXT;

ALTER TABLE "Donation" ADD CONSTRAINT "Donation_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;
