Skip to content

change sequelize.import for require - #10

Open
rociodemula wants to merge 1 commit into
bjrmatos:masterfrom
rociodemula:patch-1
Open

change sequelize.import for require#10
rociodemula wants to merge 1 commit into
bjrmatos:masterfrom
rociodemula:patch-1

Conversation

@rociodemula

Copy link
Copy Markdown

Since sequelize.import is deprecated, require is a must for compatilibility with sequelize 6.3.0

Compatilibility with sequelize 6.3.0
@rociodemula

Copy link
Copy Markdown
Author

This pull request is needed for compatibility with recent sequelize versions, since .import is deprecated long ago

@diegogarciaarriaza diegogarciaarriaza left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be also necessary to change the package.json using the right version for Sequelize

"devDependencies": {
...
"sequelize": "6.3.0"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants