Add Democratic fundraising platform.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
root
2026-05-16 00:47:44 +00:00
parent 89f9b8dc83
commit 391d90a754
141 changed files with 14989 additions and 914 deletions

View File

@@ -0,0 +1,9 @@
-- 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;