I am trying to add a field of type date that has a default value but CURRENT_DATE does not seem to work.
ALTER TABLE `t` ADD `created` DATE
NOT NULL
DEFAULT CURRENT_DATE()
AFTER `f`
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 'CURRENT_DATE()