Releases: actionhero/ah-sequelize-plugin
v2.1.1
v2.1.0
v2.0.4
v2.0.3
v2.0.2
- (bugfix) autoMigrate can now be disabled
v1.3.1
Allow for loading TS files with named exports
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
v1.2.0
- this package now requires sequelize v5, and we test against only that version
- this package has fully up-to-date dependancies
- Removes
operatorsAliases
, as they are deprecated by Sequelize
Fixes config files
Fixes the destructuring calls in the template config file.
Improves logging
Adds notes about overriding logger.
Changes to use configured logger for all outputs.
Reduces complexity of config and removes merge
function comments.