Exist a good extension or similar to create a history of changes in all (or most) tables?
i know i can put my code in function beforeSave()
in any model, but i need something more reusable and professional.
in my mind i have the structure below.
table history
id, id_user, table_name, change_message, date
1, 25, dbo_address, update(postal_code: old value = 5500, new value: 5501), added(street: Street with no name), 2021-04-04 18:30:00