P
Prisma•7mo ago
Matusko167

Prisma custom flow

Hello we are trying to make something like our prisma flow like we want to controll when something happend like we want to controll when generate client and when creating migrations etc... It is possible to do it? Thanks
3 Replies
Nurul
Nurul•7mo ago
Hey 👋 Could you please elaborate? I didn't understand what you are trying to achieve.
Matusko167
Matusko167OP•7mo ago
Yea sure so we want to have custom cycle of that what happend inside commands like prisma generate or prisma db push or prisma db migrate, not full custom but we want to call it inside our code. It is possible to do something like that?
Nurul
Nurul•7mo ago
Oh you mean to run these commands programatically from inside the code. This is not officially supported yet. We have a feature request here, in which there are a few workarounds mentioned that might help https://github.com/prisma/prisma/issues/4703
GitHub
Prisma Migrate: programmatic access to CLI commands (deploy, `res...
Problem It would be nice to have a way to run the migrate programmatically. I am running into an issue where my api is using lambdas (serverless) and my database is only accessible from within an a...
Want results from more Discord servers?
Add your server