I was speaking to some friends about 'newer' ways of storing data in MySQL, and they were talking more about duplicating/editing a MySQL record rather than modifying the one and only.
Example:
ID | NAME | EMAIL | DATE_UPDATED | STATUS
1 John jon@email.com 2018-01-01 05:00:00 PUBLISHED
So when an UPDATE command comes through, instead of editing record 1, it duplicates the record into something like this.
ID | NAME | EMAIL | DATE_UPDATED | STATUS
1 John jon@email.com 2018-01-01 05:00:00 PUBLISHED
1.1 John jon@email.com 2018-01-01 05:00:00 REVISION
This might not be exact, but similar concept. I am not sure the exact terminology on something like this, but I believe it has become a standard in most apps nowadays.
I am looking for some direction in best handling/creating something like this. MySQL triggers? PHP duplicate records etc. Along with how to handle the SELECT statement now that things have changed.