# ORM v7 Upgrade Check > Check and upgrade a Prisma ORM 6 project to Prisma ORM 7. Paste schema.prisma, the code that > creates PrismaClient and optionally package.json, tsconfig.json and .env. The browser lists every > Prisma 7 breaking change that applies, with its line and fix, and drafts the v7 files - free. A paid > run (model gpt-terra) audits the upgrade into an ordered plan or rewrites the files, and the page > checks the returned files again. URL: https://orm-v7-upgrade.skillsafe.ai/ API tutorial: https://orm-v7-upgrade.skillsafe.ai/api.html ## What the free check finds (no AI, in the browser) - MongoDB datasource: Prisma 7 has no MongoDB connector; stay on the latest Prisma 6.x (6.19.3 on npm, 2026-09-28). - Generator: prisma-client-js instead of prisma-client; missing output (required); engineType lines; the removed metrics preview feature; redundant driverAdapters / queryCompiler flags. - Datasource: url, directUrl and shadowDatabaseUrl still in schema.prisma (they move to prisma.config.ts; Prisma Config v7 has no directUrl - the direct URL goes in datasource.url). - Code: imports from '@prisma/client' (the client now lives in the output folder), PrismaClient without a driver adapter or accelerateUrl, removed datasources/datasourceUrl options, $use middleware, Prisma.Middleware types, $metrics, Prisma.validator, rejectOnNotFound, internal runtime imports, .env not loaded. - prisma.config.ts (when pasted): directUrl, dotenv not loaded, no datasource.url. - package.json: the "prisma" block (seed/schema move to prisma.config.ts), removed CLI flags (--skip-generate, --skip-seed, db execute --url/--schema, migrate diff --from-url/--to-url/--from-schema-datasource/--to-schema-datasource/--shadow-database-url), generate no longer automatic, engines.node outside "^20.19 || ^22.12 || >=24.0", TypeScript below 5.4, module format. - tsconfig.json: CommonJS module or node10 resolution with an ESM client. - .env (never sent, never stored): removed PRISMA_* variables, Accelerate URLs, pool parameters mapped to adapter options (pg: max, connectionTimeoutMillis, idleTimeoutMillis; mariadb: connectionLimit, acquireTimeout, connectTimeout, idleTimeout), SSL settings, a schema= parameter (PrismaPg options argument). - Drafts: the v7 generator and datasource blocks spliced into your schema, prisma.config.ts, a client file with the adapter for your provider, and install commands. ## Paid lanes (task field) - audit: input {task:"audit", schema, code?, facts (JSON string from the page), note?}. Output: {task, headline, verdict: upgrade|stay_on_v6|already_v7, effort, finding_responses[{ref, stance: confirmed|not_applicable|needs_you, note}], extra_findings[{title, severity, where, evidence, fix}], plan[{step, title, detail, commands[], files[]}], to_confirm[]}. - rewrite: input {task:"rewrite", schema, code?, facts, note?, audit?}. Output: {task, headline, schema_blocks (generator + datasource blocks only), config{path, content}, files[{path, content}], package_changes{set, remove, dependencies, devDependencies, scripts}, tsconfig_changes, finding_responses[{ref, stance: done|not_applicable|needs_you, note}], changes[], commands[], to_confirm[]}. The page reconciles every reply: each finding answered once, no blocker dismissed, audit evidence must be quoted from the input, plan and commands must not use removed CLI flags; rewritten files are put back into the user's schema and re-checked (prisma-client generator with output, no datasource URLs, no directUrl in prisma.config.ts, dotenv loaded, adapter or accelerateUrl present, no '@prisma/client' imports, every model/field/enum kept, no invented environment variables). ## Sources - Derived from the agent skill @prisma/prisma-upgrade-v7 (https://skillsafe.ai/skill/@prisma/prisma-upgrade-v7), prisma/skills, MIT - see https://orm-v7-upgrade.skillsafe.ai/NOTICE.txt - Prisma docs, Upgrade to Prisma ORM 7: https://www.prisma.io/docs/guides/upgrade-prisma-orm/v7 - Prisma Config reference (v7): https://www.prisma.io/docs/orm/v7/reference/prisma-config-reference - Connection pool (v7): https://www.prisma.io/docs/orm/v7/prisma-client/setup-and-configuration/databases-connections/connection-pool - npm registry (prisma 7.10.0 engines, latest versions), checked 2026-09-28. Independent tool, not affiliated with or endorsed by Prisma Data, Inc. Prisma is a trademark of Prisma Data, Inc.