Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple-file prisma schema #74

Open
phyrasaur opened this issue Jan 24, 2025 · 2 comments
Open

Add support for multiple-file prisma schema #74

phyrasaur opened this issue Jan 24, 2025 · 2 comments

Comments

@phyrasaur
Copy link

Issue: My models are in separate files from schema.prisma
I am using Prisma's new feature where we can separate models to different files for better organisation. When I open the visualizer on prisma.schema I got an empty view. When I open the visualizer on a specific model.prisma, I get just the table for that model

Request: View all tables on prisma.schema
I want to view all models from all files in schema folder when I open the visualizer from prisma.schema

References
Multi-file Schema | Prisma Docs

@togo01
Copy link
Contributor

togo01 commented Feb 7, 2025

I tried adding this feature and submitted a Pull Request.

#76

@BOCOVO
Copy link
Owner

BOCOVO commented Feb 11, 2025

Thank you, @togo01, for the PR. I'll check it out during the week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants