PrismaP
Prisma14mo ago
3 replies
Rev

Is there a way to generate model in prisma using cli?

I'm developing a white-label solution based on CLI inputs, and I'm wondering if there's an extension or tool that can assist with filling out a form using types and relations, which would then be automatically generated in the schema.prisma file.
Solution
Hi Rev 👋

I am not aware of any CLI tool to automatically generate schema file.

There are other tools like https://prismaliser.app/ and https://prisma-editor.vercel.app/ which you may want to have a look at
Prismaliser
Visualise your Prisma schema!
Prismaliser
Prisma Editor | Visualize and Edit Prisma Schemas
Prisma Editor: Prisma Schema Editor, Prisma Schema visualization, visualize and edit Prisma schemas.
Was this page helpful?