Hello,
I’m struggling with the migration guide to V7, I got lost with sequelize usages.
Expected behavior
In the migration guide to V7, you say that
// Calling sequelize with one of the 2 following syntaxes will not work anymore:
const { sequelize } = require('../models') ❌
const models = require('../models');
const sequelize = models.sequelize ❌
I’ve got one in my app, how am I supposed to replace it ?
From what I’ve understood models.sequelize
is equivalent to models.connections['default']
Can you update the documenation for others ?