The if statement is used to know which trigger fired. It can be simplified now.
FYI
The first block is to find the modified row, and the second is to submit it to the database.
The if statement is used to know which trigger fired. It can be simplified now.
FYI
The first block is to find the modified row, and the second is to submit it to the database.