MySQL timestamp only on create -
I use timestamp with PHP in MySQL 5.x to remember the event bar. During development, I had to update the table with a table which makes some changes in all the columns. The timestamp was reset to the current time.
How can I change timestamp changes only on the inclusion or not, but how can I change it? In essence, however, I think it should do this:
Optional table 'mytable' change 'mydatefield` `mydatefield` TIMESTAMP tap DEFAULT CURRENT_TIMESTAMP
Comments
Post a Comment