Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to pass migrations as JavaScript when using as library #93

Open
mxro opened this issue May 13, 2022 · 1 comment
Open

Ability to pass migrations as JavaScript when using as library #93

mxro opened this issue May 13, 2022 · 1 comment

Comments

@mxro
Copy link

mxro commented May 13, 2022

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!

@okv
Copy link
Owner

okv commented May 15, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants