Check to see if in your package.json file "prisma.schema" is pointing at the directory and not the "prisma.schema" file:
from:
"prisma": {
"schema": "./prisma/schema/schema.prisma"
},
to:
"prisma": {
"schema": "./prisma/schema"
},
Answer from BloodOwl on Stack OverflowPrisma
prisma.io βΊ home βΊ schema location βΊ schema location βΊ schema location βΊ schema location
Prisma Schema Location and Configuration | Prisma Documentation
The default name for the Prisma Schema is a single file schema.prisma in your prisma folder.
Top answer 1 of 3
4
Check to see if in your package.json file "prisma.schema" is pointing at the directory and not the "prisma.schema" file:
from:
"prisma": {
"schema": "./prisma/schema/schema.prisma"
},
to:
"prisma": {
"schema": "./prisma/schema"
},
2 of 3
0
move the prisma folder out of the src folder to the root. This will solve the issue
Prisma 6.6.0 does not work with `prismaSchemaFolder`
Bug description Prisma does not recognize schema folder in v6.6.0 # migrations folder hidden for brevity β― tree prisma prisma βββ schema β βββ config.prisma β βββ devops.prisma β βββ index.prisma β... More on github.com
prismaSchemaFolder Pattern?
Hi, do I need a `.prisma` file every time I encounter a folder structure of `prismaSchemaFolder`? Based on the example below, (a,b).prisma fails to read the model of c in (a,b).prisma. The services folder does not have .prisma. The services folder subtest folder has .prisma. More on answeroverflow.com
How to setup multiple Prisma clients in combination with `prismaSchemaFolder`
I'm trying to setup multiple Prisma clients (as I have 2 sperate databases) in combination with `prismaSchemaFolder`. As I'm having 2 Prisma clients I need to define the ouput folder manually like: ``` generator client { output = "../../../node_modules/@prisma/db1/client/" provider = ... More on answeroverflow.com
Schema could not be found after Prisma 6.6.0 update
}``` The following is my schema.prisma: ```generator client { provider = "prisma-client-js" previewFeatures = ["driverAdapters", "prismaSchemaFolder"] } datasource db { provider = "postgresql" url = env("DATABASE_URL") directUrl = env("DIRECT_URL") } ``` This completely broke Prisma for me ... More on answeroverflow.com
Using Prisma ORM and Prisma Postgres with Deno
Prisma Postgres Setup Tutorial: From Zero to Database in ...
08:17
Prisma ORM + Prisma Postgres: 5-Minutes Quickstart - YouTube
16:05
Prisma und Pyramide - YouTube
05:41
Fehlende Seite berechnen - PYRAMIDE und PRISMA - YouTube
31:36
1. Raumgeometrie - Zeichnen von SchrΓ€gbildern (Prisma, Pyramide) ...
GitHub
github.com βΊ prisma βΊ prisma βΊ discussions βΊ 24413
Preview feature feedback: `prismaSchemaFolder`, Multi-file Prisma Schema Β· prisma/prisma Β· Discussion #24413
Support for your having Prisma Schema in multiple files is in preview behind the prismaSchemaFolder preview feature since release 5.15.0 on June 4th: Release Notes: https://github.com/prisma/prisma...
Author Β prisma
DevGenius
blog.devgenius.io βΊ splitting-prisma-schema-into-multiple-files-a-simple-guide-0e28da7c5cd7
Splitting Prisma Schema into Multiple Files: A Simple Guide | by Tanzim Hossain | Dev Genius
October 10, 2025 - Hey buddy! Today, I want to share a solution I found for a common problem with Prisma. By default, Prisma uses just one file called schema.prisma to store all your database models. This can get messy when your project grows.
GitHub
github.com βΊ prisma βΊ prisma βΊ issues βΊ 26840
Prisma 6.6.0 does not work with `prismaSchemaFolder` Β· Issue #26840 Β· prisma/prisma
April 8, 2025 - Bug description Prisma does not recognize schema folder in v6.6.0 # migrations folder hidden for brevity β― tree prisma prisma βββ schema β βββ config.prisma β βββ devops.prisma β βββ index.prisma β βββ subscriptions.prisma βββ seed.ts 1 ...
Author Β prisma
GitHub
github.com βΊ prisma βΊ prisma βΊ discussions βΊ 25606
prismaSchemaFolder don't work properly Β· prisma/prisma Β· Discussion #25606
> npx prisma generate --schema src/prisma/schema/schema.prisma Environment variables loaded from .env Prisma schema loaded from src/prisma/schema/schema.prisma Error: You don't have any models defined in your schema.prisma, so nothing will be generated. You can define a model like this: model User { id String @id @default(auto()) @map("_id") @db.ObjectId email String @unique name String?
Author Β prisma
New Releases
newreleases.io βΊ project βΊ github βΊ prisma βΊ prisma βΊ release βΊ 5.16.0
prisma/prisma 5.16.0 on GitHub
June 25, 2024 - To continue improving our multi-file ... files with the prismaSchemaFolder feature, a path is now relative to the file it is defined in rather than relative to the prisma/schema ......
Answer Overflow
answeroverflow.com βΊ m βΊ 1359220154134696136
Schema could not be found after Prisma 6.6.0 update - Prisma
April 8, 2025 - Before 6.6.0, prisma generate was working completely fine. Now, it isn't able to find the schema file located in ./prisma/schema/schema.prisma I tried running the command with --schema to specify the location, and then the following is the result of that: ``` Environment variables loaded from .env Prisma schema loaded from prisma\schema\schema.prisma Error: You don't have any models defined in your schema.prisma, so nothing will be generated.
Liambx
liambx.com βΊ docs βΊ parser βΊ supported-formats βΊ prisma
Prisma
When using Liam CLI, specify --format prisma and --input path/to/schema.prisma as follows: ... If the above command runs without issue, you should see an ER diagram generated. If you use the prismaSchemaFolder option in your Prisma configuration, you can still generate the ER diagram by specifying a glob pattern to include all .prisma files in the folder.
Answer Overflow
answeroverflow.com βΊ m βΊ 1318204492381945866
Studio is not working with multifile schemas - Prisma
December 16, 2024 - The database file is generated in the prisma/schema/...