ivmarcos/sequelize-version

Not working well with sequelize 5

Closed this issue · 1 comments

Hi, I am using sequelize v5.19.5 and I found out only CREATE versions are being stored, both UPDATE and DELETE operations are not saved. Any information on the version compatibilities? Thanks.

Never mind, Model.update() is actual bulk operation, in order to have individual update to be logged, individualHooks: true needs to be set when calling the update (or delete) method.