I\'m using PHPMyAdmin and I\'ve got a MySQL table column called \"timestamp.\" The type (surprise!) is TIMESTAMP, and in \'attributes\' I\'ve set it to ON UPD
TIMESTAMP
ON UPD
What am I missing?
You don't update :)
Use DEFAULT CURRENT_TIMESTAMP along with ON UPDATE CURRENT_TIMESTAMP
DEFAULT CURRENT_TIMESTAMP
ON UPDATE CURRENT_TIMESTAMP