SyntaxFix
Write A Post
Hire A Developer
Questions
You can put the following code on the default value of the timestamp column: CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, so on update the two columns take the same value.
CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP