Tracking changes in a table or several tables for that matter can be essential for your application, and we are going to take a look on how to do that using only the MySQL/MariaDB database. We have been tasked to log all the changes made to an orders table in an e-commerce application built with Laravel, and we need to track these events.
The better solution would be to store the user who update the order in the orders table.