hey how can i split my schemas into multiple files...
# orm-help
a
hey how can i split my schemas into multiple files?
b
There is a open GH issue for that, meanwhile you could use a npm script workaround
Copy code
"generate-schema": "cat src/*/*.prisma > prisma/schema.prisma"
a
yep but that’s a problem for relations because you can not export one model to another