PrismaP
Prisma5mo ago
12 replies
DeathlyNocturnal

Multi-file prisma schema setup not working.

I currently have the following setup:

root/
  prisma/
    models/
      users.prisma
    schema.prisma


When I run bun prisma generate for some reason, it's not seeing ANY models within the users.prisma file, nor is it loading them.

I have added:
"prisma": {
  "schema": "./prisma"
},

to the
package.json
file but it just isn't seeing the other *.prisma files.
Was this page helpful?