Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node library for Sequelize audit trail

Is there a proper Node library to enable audit tables with the Sequelize ORM (Postgresql under the hood)?

I found the NPM packages sequelize-temporal, sequelize-paper-trail and audit.sequelize, but they are either very old, don't provide an easy way to migrate an existing DB, or simply don't seem to work.

Or is there another convenient way of keeping track of DB changes that I should know?

like image 999
Sébastien Dubois Avatar asked Jun 06 '16 16:06

Sébastien Dubois


1 Answers

This is an old question, but maybe sequelize-version could be helpful for you https://github.com/ivmarcos/sequelize-version

like image 182
sgaseretto Avatar answered Oct 16 '22 04:10

sgaseretto