Exercise 3: Working Out Which Prisma Version a Tutorial Uses — Possible Solution ================================================================================== Clues that a tutorial was written for Prisma 7 (the version this course uses): - A prisma.config.ts file in the project. - A generator block using provider = "prisma-client" with an output = "..." path, and imports from that generated folder rather than from "@prisma/client". - A driver adapter package being installed and passed to PrismaClient, for example @prisma/adapter-pg with the pg driver. - "type": "module" in package.json (ES modules). Clues that it's for an older version (Prisma 6 or earlier): - provider = "prisma-client-js" in the generator block, often with no output path. - import { PrismaClient } from "@prisma/client" with no adapter. - The database URL written only in schema.prisma (url = env("DATABASE_URL")) and no prisma.config.ts. - Mentions of middleware ($use) or of seeding running automatically after migrations — both removed in Prisma 7. Also check the tutorial's date and the "prisma" version in its package.json, if it shows one. WHY THIS WORKS AS AN ANSWER ------------------------------ It turns the chapter's summary of what changed in Prisma 7 into a practical checklist. Older tutorials are still useful for concepts, but their setup steps won't match a Prisma 7 project.