Skip to content

Commit 704dc2d

Browse files
fix generator output path (#7368)
1 parent 432af39 commit 704dc2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/200-orm/050-overview/500-databases/200-database-drivers.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,14 @@ Let's assume you have `output` in your Prisma schema set to `../generated/prisma
172172
```prisma
173173
generator client {
174174
provider = "prisma-client"
175-
output = "../src/generated/client"
175+
output = "../src/generated/prisma"
176176
}
177177
```
178178

179179
You can reference Prisma Client using a relative path from your application code:
180180

181181
```ts
182-
import { PrismaClient } from '../generated/prisma/client'
182+
import { PrismaClient } from './generated/prisma/client'
183183

184184
const client = new PrismaClient()
185185
```

0 commit comments

Comments
 (0)