nielsgl / sequelize-paper-trail

Sequelize plugin for tracking revision history of model instances.
MIT License
95 stars 69 forks source link

update not creating records in revision table #86

Open nedpuganti opened 5 years ago

nedpuganti commented 5 years ago

is this common or

HunterJS-bit commented 3 years ago

Having the same problem :/

HunterJS-bit commented 3 years ago

It seem like the problem was that I was updating JSON columns, and that is not working its explained here: #/79 So I used Sequelize hooks to solve this: https://sequelize.org/master/manual/hooks.html