You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(dashboard-agent-db): load .env for local migrations
The Drizzle migrator (migrate.mjs / migrate-status.mjs) reads only
process.env, so `pnpm run db:migrate` failed locally with "No database
url set" — unlike Prisma, which auto-loads .env. Load the repo .env via
node's --env-file-if-exists (no-op in the container/cloud, where the file
is absent and real env vars win) and expand ${VAR} refs the flag would
otherwise keep literal (e.g. DIRECT_URL=${DATABASE_URL}).
0 commit comments