I want to update a column in a table, as the following :
ALTER TABLE annonce MODIFY COLUMN date_crea DEFAULT CURRENT_TIMESTAMP;
but I got this error :
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CURRENT_TIMESTAMP' at line 1
How can I solve this ?