From 77634c2b71eb24e3e0892d7eaeb4e88b1c0368f2 Mon Sep 17 00:00:00 2001 From: Aman Varshney Date: Tue, 10 Mar 2026 17:54:43 +0530 Subject: [PATCH] Docs Issue 7455: add 'export' keyword to code snippet Resolves https://github.com/prisma/docs/issues/7455 The PostgreSQL adapter "After" code snippet was missing the `export` keyword on the `prisma` variable, inconsistent with the SQLite example directly below it. --- apps/docs/content/docs/guides/upgrade-prisma-orm/v7.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/docs/guides/upgrade-prisma-orm/v7.mdx b/apps/docs/content/docs/guides/upgrade-prisma-orm/v7.mdx index 57fe8e3543..fab5145120 100644 --- a/apps/docs/content/docs/guides/upgrade-prisma-orm/v7.mdx +++ b/apps/docs/content/docs/guides/upgrade-prisma-orm/v7.mdx @@ -168,7 +168,7 @@ import { PrismaPg } from "@prisma/adapter-pg"; const adapter = new PrismaPg({ connectionString: process.env.DATABASE_URL, }); -const prisma = new PrismaClient({ adapter }); +export const prisma = new PrismaClient({ adapter }); ``` If you are using SQLite, you can use the `@prisma/adapter-better-sqlite3`: