I have use a timestamp on an ‘updated’ field, every time a new field is created or updated I want it to get the current timestamp. After I create a field I get 00-00 00:00:00 even though I only pass ” on creation. How do I fix it?
updated timestamp on update CURRENT_TIMESTAMP
pass
nullin the insert statementSQLFiddle example