8385041bb0
Previous fix stripped data in Node.js AFTER Prisma loaded the full JSON from PostgreSQL. For 5 entries with PDF attachments, this still meant 25-50MB transferring from DB to Node.js on every page load. Now uses prisma.\ with nested jsonb_each/jsonb_object_agg to strip data/fileData/imageUrl strings >1KB inside the database itself. Heavy base64 never leaves PostgreSQL when lightweight=true.