Using the same schema on different projects
Hello!
I have different projects that use the same prisma.schema. Every time i change something on my schema i have to update the file on all of the other projects.
I wanted to ask if there's a way to sync them so all of my projects can point to a single schema and every time i wanna make a change i only have to worry for a single file.
I've read that creating an npm package and share it to all of the projects could be one solution. Just wanted to ask out of curiosity if someone knew any other option or possible solution for this situation to evaluate which one would be better for me to apply.
Thanks for your help!
2 Replies