My-Weekly-ToDo-List/prisma
mARTin b7954f9367 fix: add showProjectIcons and weekStartDay to Prisma schema + route
Both fields existed in the DB but were missing from schema.prisma,
so the Prisma client didn't know about them. The client has been
regenerated (prisma db push). Added both fields to:
- prisma/schema.prisma (with correct defaults)
- GET select, PATCH destructure, updateData, PATCH select in route.ts

This resolves the 500 errors on PATCH /api/user/profile that occurred
when saveSetting() tried to persist these fields.

v1.81.8
2026-04-02 10:15:49 +02:00
..
migrations fix: add migrations for 10 missing User columns 2026-03-19 09:42:27 +01:00
schema.prisma fix: add showProjectIcons and weekStartDay to Prisma schema + route 2026-04-02 10:15:49 +02:00