This repository has been archived by the owner on Aug 17, 2022. It is now read-only.
What's Changed
- [MINOR BREAKING CHANGE]: The package will sort revisions based on the migration number rather than the timestamp of the migration file. The migration number is the second number found in a migration file's name, and while the timestamp and migration number should both increase at the same time, there is a rare chance this does not happen, such as when working in an environment with desynced time. It might change the order in which migrations are applied and is thus a breaking change.
- [BREAKING CHANGE]: Setting a
defaultValue
of null is no longer supported, although it is not likely this makes sense. - The
index.js
file in the model root directory can now do a default export of an object containing thesequelize
andSequelize
keys.
New Contributors
Full Changelog: v1.0.12...v2.0.0