Loading…
Add a Postgres database · prompt 3 · Claude Code · week 2026-W44
Prompt: Wire this Next.js app to a serverless Postgres database with an ORM. Add one migration and a query on the home page.
Grader: The agent wired Neon via @neondatabase/serverless and Drizzle, generated a migration, and passed its own build with a placeholder DATABASE_URL, but the verification build without DATABASE_URL fails because db/index.ts throws at module evaluation during page data collection.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.