Is there a way to run `prisma migrate` programmati...
# prisma-migrate
m
Is there a way to run
prisma migrate
programmatically by importing and calling a function from some of the
@prisma
packages? I currently use
execa
and run the command but I'm just curious if there is a better way to do that. 🙂
t
We are currently not exposing a library API. There is a feature-request issue there, it would help if you can describe your use case there — feedback is taken into account in setting priorities for migrate 🙂 https://github.com/prisma/migrate/issues/439
👍 1
m
Thanks, Tom! Done. :)