Create an updated_at
timestamp column that is automatically updated whenever row values are changed in a postgresql database.
- Modifying a column when a row is changed requires a
BEFORE UPDATE
TRIGGER
on row updates. - A
trigger
cancall
aprocedure
- A function can create a
trigger
programatically.