prismix
prismix copied to clipboard
How can i reuse enums?
I have an Enum(countries) that several tables need to use it in some fields. I was wondering if there is any way to reuse it instead of having to copy it with different names on each schema that uses it

Does this mean you should copy the entire enum to each .prisma file?
That was actually my question, the problem is you need to copy the enum on each file and last time I've checked using different names so they don't collide while merging files