sequelize-auto-migrations icon indicating copy to clipboard operation
sequelize-auto-migrations copied to clipboard

Is it possible to tell the package where to look for the models folder?

Open snake-py opened this issue 3 years ago • 1 comments

I have a ts project, which is structured like this:

root/ts root/js root/node_modules

I ran sequelize init inside ts because I want to have my models in there. How can I now tell auto-migrations to look in ts for the models folder?

snake-py avatar Mar 03 '21 11:03 snake-py

You can create a .sequelizerc file in the root of you project.

blcoskey avatar Jun 22 '21 18:06 blcoskey