How to run migrations that is inside node_modules?

I have created a package for my application that I can install for my main application, the package has it's own schema and migrations. If I install the package in my application how would I run the migration if it is inside the node_modules?
Was this page helpful?