However, a current system that I have created I added a feature that will store a "version" of a dB record into a separate table "_versioning" that contains a version number of the update and what the record contained before a user updated the contents.
After some searching I could not find anything that would do this in Yii, maybe I'm just searching for the wrong term.
To explain further:
a) user adds FirstName, LastName, Address, etc stored in ADDRESS table B) user updates Address i) store old info in "ADDRESS_versioning" table ii) save as version 1 [current table has v1] iii) update "version number" before saving into current table as v2 c) new updates reside in ADDRESS table.
Is there something within the Yii framework to do this automatically?