Closed
Description
Looking the code of updateOnDuplicate
looks like we can set an array of fields or a boolean . If we pass a boolean true
, the bulkCreate tries to update the primary key field as well, trowing an SequelizeForeignKeyConstraintError SequelizeForeignKeyConstraintError: Cannot delete or update a parent row
error.