Mohammed Almajid
09/08/2022, 12:36 AMproduction
the main issue is
P2023
"Inconsistent column data: {message}"
because I have some fields are unions , could be string or number
how to solve this issue ? is there anyway to tell prisma that field type could be string or number?
the solution that I have is to put field type as json
but is there better solution ?Harshit
09/16/2022, 3:57 PMjson
there. There is no way of expressing compounds types in the schema right now.Mohammed Almajid
09/18/2022, 10:20 AM