fix(tooling): harden database env loading

This commit is contained in:
2026-03-30 14:42:44 +02:00
parent be6be64e3d
commit 34067f1576
6 changed files with 179 additions and 35 deletions
+4
View File
@@ -31,6 +31,10 @@ npm test
npm run dev
```
### Database commands
Use the repo-level `pnpm db:*` commands or `pnpm db:prisma -- <args>` for Prisma work.
These wrappers auto-load `.env`, `.env.local`, `.env.$NODE_ENV`, and `.env.$NODE_ENV.local`, so direct raw Prisma commands should be avoided unless `DATABASE_URL` is already exported in the shell.
## Agent Coordination
### Swarm Configuration