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 ...
Discussions

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
🌐 stackoverflow.com
Prisma adds support for multiple schemas and table views!!
I've had this setup for a few weeks and it works well. The only thing I wish I could change is that the Auth/Storage schemas have so many tables that aren't needed for the work we would do with them. I really only need the `users` table from the auth schema. It clutters up the codebase. More on reddit.com
🌐 r/Supabase
9
8
February 3, 2023
Is it possible to use prisma schema with multiple files?
🌐 r/learnjavascript
5
3
March 28, 2023
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
🌐 github.com
352
May 5, 2020
🌐
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 › multi-schema › multi-schema › multi-schema › multi-schema
How to use Prisma ORM with multiple database schemas | Prisma Documentation
To use multiple database schemas in your Prisma schema file, add the names of your database schemas to an array in the schemas field, in the datasource block.
🌐
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
🌐
Medium
arcdev.medium.com › how-to-split-your-prisma-schema-a-simple-guide-4a453502f9b8
How to Split Your Prisma Schema: A Simple Guide | by arcdev.in | Medium
January 10, 2025 - Create a schema subdirectory within your prisma directory. You can move your existing schema.prisma file into this directory and split its contents into multiple .prisma files based on logical groupings, such as models related to users, posts, ...
🌐
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.
Find elsewhere
🌐
Prisma
prisma.io › home › overview of prisma schema › overview of prisma schema › overview of prisma schema
Prisma schema | Prisma Documentation
It is typically a single file called schema.prisma (or multiple files with .prisma file extension) that is stored in a defined but customizable location.
🌐
Medium
medium.com › @joydip007x › how-to-use-multiple-schema-in-prisma-40cc6b6f8d9c
How to Use Multiple Schema with Prisma Database | Medium
July 7, 2023 - How to use MultiSchema Databases in Prisma , connect Multiple Databases using PrismaSplit in Subschemas or model, use Multiple Schemas Models Databases.
🌐
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 › 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
🌐
Reddit
reddit.com › r/supabase › prisma adds support for multiple schemas and table views!!
r/Supabase on Reddit: Prisma adds support for multiple schemas and table views!!
February 3, 2023 -

I was reading through Prisma release notes for versions 4.8.0 and 4.9.0 (as you do), and I saw that they have released support for both views and multiple schemas! This has long been an issue for those of us who have wanted to use Prisma with Supabase, but we've always had to to do hacky things to make it work around Supabase's `auth`, `storage`, and other schemas.

These features are behind preview flags for now, but I'm super excited to see this support coming to the library! Leave a comment if you've been able to test this out at all - I might hack on it a bit this weekend, myself.

https://www.prisma.io/docs/guides/database/multi-schema

https://www.prisma.io/docs/concepts/components/prisma-schema/views

https://github.com/prisma/prisma/releases

🌐
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%
🌐
YouTube
youtube.com › watch
How to Use Multiple Schema files in Prisma - YouTube
*The Repo Used in this video* : TypeScript: https://github.com/joydip007x/Prisma-MultiSchema-TS-ExampleJavascript: https://github.com/joydip007x/Prisma-Multi
Published   June 6, 2023
🌐
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