feat(ST-nma6ylbl): Prisma-migratie ADMIN enum + must_reset_password + CANCELLED-status

- Role enum: ADMIN toegevoegd (na DEVELOPER)
- User model: must_reset_password Boolean @default(false) toegevoegd (na bio_detail)
- ClaudeJobStatus: CANCELLED was al aanwezig, geen wijziging nodig
- Migratie SQL: ALTER TYPE buiten transactie geplaatst (IF NOT EXISTS)
- prisma migrate deploy toegepast, prisma generate gedraaid
- lint 0 errors, 546 tests groen, build succesvol
This commit is contained in:
Scrum4Me Agent 2026-05-05 14:18:10 +02:00
parent d2601b6e9b
commit 19c458287a
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,6 @@
-- ALTER TYPE ADD VALUE cannot run inside a transaction in PostgreSQL
ALTER TYPE "Role" ADD VALUE IF NOT EXISTS 'ADMIN';
BEGIN;
ALTER TABLE "users" ADD COLUMN IF NOT EXISTS "must_reset_password" BOOLEAN NOT NULL DEFAULT false;
COMMIT;