Prisma is a utility, it requires the same special ...
# random
y
Prisma is a utility, it requires the same special deployment requirement as express would 🤔
n
Thanks for the clarification :)
p
Well I don't think that's entirely true. You will need to include schema generation and migration in the CI/CD pipeline. It isn't too hard though. Basically just run the prisma migrate deploy command when deploying and include prisma generate command upon build.
n
I was thinking of setting up a gh action to do this , but just wanted to ask around to see if there are providers that already do this for free.
Like maybe Heroku
y
before starting the server run
prisma migrate prod
c
if you’re doing heroku you can just toss the migration script into heroku release phase
n
Nice I'll look into this