News for hackers. Stuff that matters.
Re:Ask HN: How to Do Audit Trail? by mtmail on Friday March 19, 2021 @05:49AM (#26511553)
In the Ruby on Rails world we have https://github.com/paper-trail-gem/paper_trail It adds a table with event type (create, update, destroy etc), object type (class) and id, and user who initiated it. Optionally a column that stores previous versions.

There are no comments on this comment yet.