Repository navigation
v1.3.0
No longer assume model and migration paths are relative to project root
For the Typescript version of Actionhero (v21), we need to be able to account for projects which have both a src and a dist directory. This means that we cannot rely on models & migrations being relative to project root... that will change depending on which more you are running in.
This change changes the config setup for ah-sequelzie-plugin to instead search for those folders relative to the config file (which will be compiled as needed itself into dist or src)
If you are upgrading to this version, you will need to update your /config/sequelize.js config file to have a full path in your modelsDir and migrationsDir