albingroen / prismabuilder.io

Build your Prisma schema visually in this easy-to-use web based tool
https://www.prismabuilder.io
279 stars 30 forks source link

Support composite IDs from Prisma #35

Open tvvignesh opened 2 years ago

tvvignesh commented 2 years ago

Hi. Great work with the tool 👍🏼 I am thinking of exposing this to our business. Was trying this out and noticed @@id is not suported as of now.

If I want to define a key as @@id([field1, field2]) as defined here I dont see a way to do that through UI, also the info gets lost when I say generate schema

Funding

Fund with Polar

albingroen commented 2 years ago

Would be nice! I, unfortunately, don't have a lot of time to work on this right now though - so you're very welcome to help out :)