This might be more of a SQL concern rather than Prisma, but is there an idiomatic way to model discriminated unions (
https://www.typescriptlang.org/docs/handbook/2/narrowing.html#discriminated-unions) in Prisma?
I'm porting an application that makes heavy use of discriminated unions and this is the main challenge. We were using a noSQL document store before, so this was not an issue there.
Do you have any advice?