Sequelize belongsToMany validation error
问题 I'm facing a problem since 3 days. I would like to create a multiple relation n:m in Sequelize but I'm getting an error message : " Unhandled rejection SequelizeUniqueConstraintError: Validation error ". So I have 3 tables : Serie. Episode. Season (in this table I would like to add relation to Serie and Episode ). Here is the definition of Serie : var Serie = sequelize.define('Serie', { idSerie: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true }, name: DataTypes.STRING }, {