Is there a way to skip certain generators when run...
# orm-help
j
Is there a way to skip certain generators when running
prisma migrate
?
j
You can use
--skip-generate
with
migrate dev
command for example but cannot specify which one. What’s your use case here? Curious to know how many generators you are using and for what 🙂
j
Ah, too bad. I have only 2, the ERD generator and the JS Client generator. I package my app as a Docker image, which seems to be missing deps for the ERD generator. Since that one doesn't need to run in prod anyway, I hoped I could selectively disable it instead of generally commenting it out in the schema.
j
Sounds interesting! I know this related issue https://github.com/prisma/prisma/issues/10527 But your case is a bit different and could use a new feature issue I think https://github.com/prisma/prisma/issues/new/choose
j
😄 I still have a feature issue to create from a few weeks back actually. I will keep collecting them and then batch create them once I find the time
💯 1
💚 1
j
Thank you! User input is really valuable for us