Repository navigation
Replies: 2 comments
|
Yes, you should be able to do this. Is it not working? |
0 replies
|
@mmkal I just tried doing a similar thing, passing the model to
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have a folder with all my model definitions like this:
(Generated by sequelize-auto)
Would it be possible to require that model instance and then pass that to queryInterface.createTable instead of having to copy the definition.
Something like this
All reactions