darksyndacite
PPrisma
•Created by darksyndacite on 2/20/2025 in #help-and-questions
Updating Major Version from 3.4.2 to 6.4.0
Hey Y'all I'm incredibly out of date here as the header says. I'm looking to update from 3.4.2 in order to use the more robust transaction API and I was wondering if there are any major breaking changes that I should know about between the 3 major versions. I honestly have a pretty simple implementation at the moment and I only use the old transactions in a couple of places which I already planned to have to update.
I'm currently working on a major refactor of my project that's requiring me to rethink the majority of my queries anyways, would it almost be better to just spin up a new version, transfer over my migrations and go from there?
If transferring migrations ends up needing to happen are there any concerns there as well? I was using Claude to help me with this but when I noticed the model wasn't aware of the new version I decided to come here and ask since it's such a large jump.
Best
7 replies
PPrisma
•Created by darksyndacite on 8/14/2024 in #help-and-questions
Serving HTTPS from Prisma Client
I'm currently trying to spin up an AWS EC2 Instance with my Prisma Client Code base. I have it connected to an AWS RDS Instance and was able to connect and migrate to that.
But my EC2 instance for the API has an SSL Cert and I have an A Record and CNAME set up for an HTTPS endpoint, but when I curl against the endpoint I receive:
How do I direct my Prisma client to use my SSL Cert/Key? Is it the same as my Web instancce where I need to pass them as ENV Values on initialization? Or is there code configuration I can do? I haven't been able to see anything about enabling SSL on the Client, just stuff talking about using it on the DB, which I already have handled.
3 replies