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:
parent
d2601b6e9b
commit
19c458287a
2 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue