I have table as shown below. In order to workaround one default now column restriction of MySQL I used the tip as shown here
CREATE TABLE IF NOT E
To do this and have it work:
col1 TIMESTAMP DEFAULT 0, col2 TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
You don't need a trigger for col1, just ensure the value is NULL in your query. The answer is in the certification guide.