Franco Roura
01/05/2022, 12:01 AMprimsa migrate deploy
after the rollout of the pods.
Before allowing users to consume the new pods of the API, ECS checks if these are healthy, in order to do that I usually define a simple endpoint at /api/health_check
that returns 200 OK.
Now, ideally the new pods shouldn't be considered "healthy" until their prisma client matches the deployed DB schema, is there a way to "health test" prisma inside my health check endpoint?nikolasburk
Franco Roura
01/05/2022, 5:33 PM