How do you like to work with your schemas? A single file or multiple?
@salahiddinediouri28020 күн бұрын
Actually, I faced this challenge a while ago when I was working on a simple ERP project. I wanted to separate models into different files, so I implemented a quick script command that maps over all schema files and pulls them into the original schema file. Now, it's really cool to minimize all this work. Great share!
@blazi_019 күн бұрын
That's smart, script to combine all schemas into one file
@frontenddaily19 күн бұрын
Great feature.
@risavkarna10 күн бұрын
How can I handle references and foreign keys across files? Do I need 'import' statements?
@chiakineo18 күн бұрын
How to use prisma schema with multiple database on difference server?