sequelize / umzug

Framework agnostic migration tool for Node.js
MIT License
1.98k stars 158 forks source link

Fix DeprecationWarning for Sequelize V7 #644

Closed pkvl closed 5 months ago

pkvl commented 5 months ago

This PR is fixing DeprecationWarning for Sequelize V7 (currently alpha, warning [SEQUELIZE0010]): Accessing DataTypes on the Sequelize constructor is deprecated. Use the DataTypes object instead.

Reference to Sequelize V7 upgrade.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (69bb341) 99.43% compared to head (31fe192) 99.43%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #644 +/- ## ======================================= Coverage 99.43% 99.43% ======================================= Files 12 12 Lines 1422 1422 Branches 257 257 ======================================= Hits 1414 1414 Misses 8 8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 5 months ago

Released in v3.6.0.