No description
Swaps real-looking organisation domains in seed fixtures for the virkN.dk placeholder pattern, so demos and screenshots can't be misread as implying real-world relationships with the originals. - mette@ssi.dk → mette@virk1.dk - lars@rigspolitiet.dk → lars@virk2.dk - jonathan@fenja.ai → jonathan@studio.test (separate fake domain for the team account, kept distinct from the council virkN namespace) - anna@kommune.dk → anna@virk3.dk - soren@energinet.dk → soren@virk4.dk - henriette@dnv.dk → henriette@virk5.dk Organisation strings get the same treatment ('Virksomhed 1' …). Also fixes two latent bugs surfaced while re-seeding: - seed.js's INSERT didn't populate the slug column added in migration 0003. After a re-seed the three base users had NULL slugs. Add a kebab-from-name fallback in the INSERT so slugs round-trip. - seed.js's DELETE chain pre-dated the Phase 1/2 schema additions and failed FK constraints (pulses/dispatches/events/votes/activity/ join_requests/roadmap_attributions). Extend the wipe order so all user-referencing tables clear before users. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| content | ||
| design | ||
| migrations | ||
| public | ||
| scripts | ||
| src | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| astro.config.mjs | ||
| CLAUDE.md | ||
| DECISIONS.md | ||
| HANDOVER.md | ||
| KNOWN_ISSUES.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| SPEC.md | ||
| todo.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||