News for hackers. Stuff that matters.
Re:Prisma – Database tools for modern application development by timsuchanek on Sunday April 07, 2019 @06:07PM (#19600241)
That's a good question. As long as you have additive changes, Prisma can do the change automatically for you. As soon as it's a change where anything will be dropped (field, relationship etc), Prisma will prompt you and ask if you want to perform that breaking change. The only command you need to know for data model changes is `prisma deploy`. Disclaimer: I work at Prisma.
Re:Prisma – Database tools for modern application development by hokumguru on Sunday April 07, 2019 @09:14PM (#19601163)
As someone who has been using Prisma religiously for the past year, I would like to express that this is the largest pain point of working with the platform. Not having the ability to custom define these transformations is brutal.
Re:Prisma – Database tools for modern application development by derdude on Monday April 08, 2019 @03:54AM (#19603082)
That is great to hear! Because we're working on exactly fixing that! What is the concrete limitation you're hitting with that?