Hi @mk.ultra … you’re 100% correct.
Starting with RW v 0.20.0 and Prisma 2.9, there needs to be:
Manual Code Modifications
- Prisma
v2.9
requires an additionalbinaryTarget
for production deploys to build correctly:
- add the additional binaryTarget
"rhel-openssl-1.0.x"
toapi/prisma/schema.prisma
- see this example
This was outlined in RedwoodJS v0.20.0 🚀 but the tutorial is likely out of date – and I know @rob is working on a “Two”-torial sequel and should address this.
I’ve added an issue to address.
https://github.com/redwoodjs/redwoodjs.com/issues/446
Thanks!