node-flywaydb icon indicating copy to clipboard operation
node-flywaydb copied to clipboard

Make node-flywaydb callable from JavaScript

Open sameer-hashflow opened this issue 2 years ago • 0 comments

We want to be able to run migrations directly from javascript so that we can run our migrations to setup our embedded test databases. This change refactors the code to make that possible and exposes a 'migrate' function which takes a config object and runs migrate with that config object. This could be easily expanded to expose more functions, like 'baseline' in a similar way.

sameer-hashflow avatar Jun 16 '23 21:06 sameer-hashflow