anyone know if there are any good docs or anything...
# orm-help
b
anyone know if there are any good docs or anything explaining things to know about before deploying a prod prisma setup? Like updating existing types with new info, etc. I'd hate to get a bunch of stuff in and then decided I need to update the API and start running into issues about it saying existing records being affected, etc.
if I'm using postgres is https://www.prisma.io/docs/datamodel-and-migrations/migrations-POSTGRES-asd4/ all there really is to it?
g
You’ll definitely get messages and errors about existing records being affected. What this looks like in production is deploying one version of the datamodel to your server, running manual migrations, then advancing to the final datamodel and deploying.
I’ve been using a mixture of git tags and a post-deploy hooks that run a migrations script.
It’s really, really not ideal but I think all we can do is wait for the next big migrations RFC to be implemented.
b
yea just trying to get a feel for it to see if its going to be a dealbreaker or not for me going to prod as this will be a ongoing project