east icon indicating copy to clipboard operation
east copied to clipboard

Ability to pass migrations as JavaScript when using as library

Open mxro opened this issue 2 years ago • 1 comments

Is it possible to pass migrations as list directly in JavaScript when using the MigrationManager? See here in umzug they call this the Direct Migration List.

My usecase is that I would like to run migrations in a serverless function that is packaged with a bundler. That makes it difficult to read the migrations from files!

mxro avatar May 13 '22 21:05 mxro

Hi, it's not supported currently. It sounds like a good featue, PRs are always welcome 😉

okv avatar May 15 '22 21:05 okv