typeError: require(...) is not a function sequelize code example
Example: TypeError: sequelize.import is not a function
const model = require(path.join(__dirname, file))(sequelize, Sequelize.DataTypes)
const model = require(path.join(__dirname, file))(sequelize, Sequelize.DataTypes)