You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I am aware, the index.js file generated by sequelize-cli should automatically be created in your models folder by running sequelize init. When you run sequelize-mig migration:make, do you specify where your models folder is, since it likely won't be using your .sequelizerc file? Since sequelize-mig uses the path /models by default, you'll want to run the following command instead:
When I run
./node_modules/.bin/sequelize-mig migration:make
:I have an error:
But
./node_modules/.bin/sequelize init
:.sequelizerc:
How to fix it?
The text was updated successfully, but these errors were encountered: