Skip to content

Importing seeders for ES Modules #360

Answered by mmkal
ceelogre asked this question in Q&A
Oct 15, 2020 · 3 comments · 11 replies
Discussion options

You must be logged in to vote

@ceelogre CLI is now published on the beta tag (npm install umzug@beta) and there's an example of how you can use it with es modules here: https://github.com/sequelize/umzug/tree/master/examples/2.es-modules

Note that there may be slight changes to the API before the next major release. For this question you may also be interested in looking at the seeders example.

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
10 replies
@mmkal
Comment options

@mmkal
Comment options

@ceelogre
Comment options

@mmkal
Comment options

@papb
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ceelogre
Comment options

Answer selected by mmkal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #360 on October 15, 2020 13:41.