Hacker News new | ask | show | jobs
by tylerandersen89 1521 days ago
This is really interesting, we're also using Prisma, still on Prisma 1 unfortunately. But what has your learning curve for PlanetScale been like? Is there any maintenance or gotchas you have experienced that you didn't realize going into using them?
1 comments

So far it’s been great overall. You can’t use foreign keys but that’s not a big issue for me (there is an easy work-around for this in Prisma and you just need to remember to add indexes on those columns).

Aside from that nothing is coming to mind. You just change your Prisma file, “npx prisma db push” to update your dev DB branch, and then when you are ready to move environments you just make a pull request to the next branch (like dev->qa).