prismabuilder.io icon indicating copy to clipboard operation
prismabuilder.io copied to clipboard

Support composite IDs from Prisma

Open tvvignesh opened this issue 3 years ago • 1 comments

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

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar

tvvignesh avatar Feb 24 '22 08:02 tvvignesh

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 :)

albingroen avatar Mar 25 '22 15:03 albingroen