Handy during a migration to keep an old and a new column in sync while the application is still being changed.
Trigger
A function the database runs automatically before or after an INSERT, UPDATE or DELETE on a table.
Handy during a migration to keep an old and a new column in sync while the application is still being changed.