diff --git a/apps/docs/content/docs/guides/deployment/pnpm-workspaces.mdx b/apps/docs/content/docs/guides/deployment/pnpm-workspaces.mdx index 9e3698501e..41ce91d41e 100644 --- a/apps/docs/content/docs/guides/deployment/pnpm-workspaces.mdx +++ b/apps/docs/content/docs/guides/deployment/pnpm-workspaces.mdx @@ -202,7 +202,7 @@ When prompted by the CLI, enter a descriptive name for your migration. Once the migration is successful, create a `client.ts` file to initialize Prisma Client with a driver adapter: ```ts title="database/client.ts" -import { PrismaClient } from "./generated/client"; // [!code ++] +import { PrismaClient } from "./generated/client/client"; // [!code ++] import { PrismaPg } from "@prisma/adapter-pg"; // [!code ++] // [!code ++] const adapter = new PrismaPg({ @@ -234,7 +234,7 @@ Then, create an `index.ts` file to re-export the instance of Prisma Client and a ```ts title="database/index.ts" export { prisma } from "./client"; // [!code ++] -export * from "./generated/client"; // [!code ++] +export * from "./generated/client/client"; // [!code ++] ``` At this point, your shared database package is fully configured and ready for use across your monorepo.