Replies: 2 comments
-
Yes, you should be able to do this. Is it not working? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mmkal I just tried doing a similar thing, passing the model to
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions