Tool to write schema by hand
Greetings everyone,
I have a quite weird question, does a specific tool exist which i can use to write my prisma schema manually, because i feel too dumb to write my schema manually for my mongodb instance.
Thanks
Solution:Jump to solution
Add Prisma ORM to an existing MongoDB project using TypeScript (15 ...
Learn how to add Prisma ORM to an existing TypeScript project by connecting it to your MongoDB database and generating a Prisma Client for database access.
4 Replies
I'd imagine this works in mongo also, but you can pull down the schema from remote to create the initial migration files
Solution
Add Prisma ORM to an existing MongoDB project using TypeScript (15 ...
Learn how to add Prisma ORM to an existing TypeScript project by connecting it to your MongoDB database and generating a Prisma Client for database access.
Then you could use mongo's website or a tool like dbeaver to build your tables, relationships, etc and then pull down the schema for use in code
Thanks, i think what I was looking for is MongoDB Compass 🙂