This has now been implemented: https://www.prisma.io/blog/organize-your-prisma-schema-with-multi-file-support
Prisma
prisma.io › blog › organize-your-prisma-schema-with-multi-file-support
Organize Your Prisma Schema into Multiple Files
June 4, 2024 - Prisma ORM lets you organize your Prisma Schema into multiple files. You split your models across as many .prisma files as you like, relations work across files without any imports, and Prisma combines everything when you run prisma generate ...
node.js - Prisma split schema into multiple file - Stack Overflow
I try spliting my models into muitliple files according the tutorial in my node ts project in root i have prisma folder i created schema subdirectory and create inside all models files include schema. More on stackoverflow.com
Is it possible to use prisma schema with multiple files?
Support for splitting Prisma schema into multiple files
Problem Prisma currently only supports one single Prisma Schema file. Developers want more flexibility for managing their Prisma Schema files. Motivations: breaking up large schema files to make th... More on github.com
multi file schema
When i run npx prisma generate it generate an empty schema without the models. what i'm doing wrong? ... You opted for speed from this bot. Let's conjure up an answer right now! PPrisma AI HelpYou opted for speed from this bot. Let's conjure up an answer right now! ... You're encountering this issue because, with the multi-file ... More on answeroverflow.com
DEV Community
dev.to › 0xtanzim › splitting-prisma-schema-into-multiple-files-a-simple-guide-ni1
Splitting Prisma Schema into Multiple Files: A Simple Guide - DEV Community
March 3, 2025 - 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. I figured out how to split it into multiple files, and I'll show you how to do it step by step.
Prisma
prisma.io › home › schema location › schema location › schema location › schema location
Prisma Schema Location and Configuration | Prisma Documentation
For example, assuming schema.prisma defines the generator block, here's the correct directory structure: # All files must be inside the `prisma/` directory # `migrations` and `schema.prisma` must be at the same level prisma/ ├── migrations ├── models │ ├── posts.prisma │ └── users.prisma └── schema.prisma # Contains generator block
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 - 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. I figured out how to split it into multiple files, and I'll show you how to do it step by step.
GitHub
github.com › prisma › prisma › discussions › 24413
Preview feature feedback: `prismaSchemaFolder`, Multi-file Prisma Schema · prisma/prisma · Discussion #24413
This is probably unrelated to feedback on the new schema folder feature (but unsure where else to put it), but could this open up the way to allowing multiple data sources in the future? I initially tried this out by having 2 {postgres,sqlite}.prisma.schema files in the schema folder and I was pretty pleased when schema generation went without a hitch.
Author prisma
YouTube
youtube.com › watch
Using Multiple Prisma Schema Files - YouTube
Starting at Prisma 5.15, we can now split our schemas up into multiple files. This is useful for scenarios where different team members are working on differ...
Published January 8, 2025
YouTube
youtube.com › shorts › EOJsdrQfUHY
Using Multiple Prisma Schema Files in Prisma 7 - YouTube
Prisma 7 is here! This is how you can use multiple schema files in your codebase.To learn more about everything included in this major release of *Prisma ORM...
Published January 30, 2026
GitHub
github.com › joydip007x › Prisma-MultiSchema
GitHub - joydip007x/Prisma-MultiSchema: Organized Multi-Schema support for Prisma · GitHub
Prisma normally limits your schema to one file, but with prisma-multischema, you can write multiple prisma schema files in an organized manner without any restrictions.
Starred by 91 users
Forked by 4 users
Languages TypeScript 93.5% | JavaScript 6.5%
GitHub
github.com › prisma › prisma › discussions › 18289
Combine Prisma schema files with code · prisma/prisma · Discussion #18289
Schemas can be combine easily using online tools like https://schemabuilder.net/schema-combiner/ I just tried for testing purposes and also validated with Google Rich Result Checking tool and it is combining correctly
Author prisma
Reddit
reddit.com › r/learnjavascript › is it possible to use prisma schema with multiple files?
r/learnjavascript on Reddit: Is it possible to use prisma schema with multiple files?
March 28, 2023 -
There is an open discussion on the prisma repo regarding this but it doesn't look like it will be implemented any time soon, is there a workaround for the meantime? I saw people using a utility function to cat everything into one file but I will lose editor formatting and autocompletion from the prisma extension
GitHub
github.com › prisma › prisma › issues › 2377
Support for splitting Prisma schema into multiple files · Issue #2377 · prisma/prisma
May 5, 2020 - Support importing additional schema files, i.e. import "user.schema", import models/*.prisma or import modules/**/*.prisma.
Author prisma
Answer Overflow
answeroverflow.com › m › 1386712255235887236
multi file schema - Prisma
June 23, 2025 - I'm creating a new project with new schema and i want to use multi-file approach. I have the directory "prisma" where is add the file schema.prisma with this content generator client { provider = "prisma-client-js" output = "../generated/prisma" } datasource db { provider = "postgresql" url = env("DATABASE_URL") relationMode = "prisma" } now i have all the schemas inside the subdirectory "schema".