Hi!
I need to write a telegram bot that will send notifications about changes to users, for example:
Table name Record id
Who changed it
The field that specifically changed
Accordingly, I need to track which specific field has changed. For regular fields, this is simply done via database.on(‘After Update’, async (instance: Model, options) => {}
But here are the fields that are made, for example, through association fields. I can’t get it.
There are two screenshots. On the first one, I changed the description and I see this. On the second one, I changed the linked associations and I don’t see it.
(file_date is a regular field, don’t pay attention)