I have 4 table in my Mysql database. - > companies - > contacts (business addresses) - > bank_data (company bank details) - > partners (company partners)
All tables relate to the companies table. In the companies table I have an updated_at field, which I would like when updating any of the other 3 tables, this field was updated. I thought of a TRIGGER, but I do not know how to do it.