Database Seeding
This guide is for contributors and testers generating deterministic sample workspaces with scripts/seed.mjs.
Safety Guards
Section titled “Safety Guards”- Refuses to run when
NODE_ENV=production. - Refuses to run against non-localhost or non-dev/test databases unless
--force-devis passed explicitly.
Usage & Flags
Section titled “Usage & Flags”npm run seed -- --size smallnpm run seed -- --reset --size medium --seed 42--size <small|medium|large>: Controls fixture volume (teams, projects, boards, tickets, comments, attachments).--reset: Clears existing workspace data before seeding.--seed <number>: Deterministic PRNG seed (default:42).--yes: Skip interactive confirmation prompts.
Shared Development Credentials
Section titled “Shared Development Credentials”- Admin Email:
alex.chen@example.com - Shared Dev Password:
DevPassword123!
Expected Result
Section titled “Expected Result”npm run seed prints a summary table of seeded organizations, teams, users, projects, boards, columns, tickets, comments, and attachments.