When generating YAML for table that has a timestamp field with the default value of _CURRENT_TIMESTAMP ON UPDATE CURRENTTIMESTAMP, the default value should be excluded so as to not cause Doctrine to generate a PHP model with the string _CURRENT_TIMESTAMP ON UPDATE CURRENTTIMESTAMP as its default value. If Doctrine does this, whenever one saves/updates a record, MySQL gets _CURRENT_TIMESTAMP ON UPDATE CURRENTTIMESTAMP as the default value as a string, and shit goes haywire! Well, the field comes out as all zeros... which is pretty damn haywire!
When generating YAML for table that has a timestamp field with the default value of _CURRENT_TIMESTAMP ON UPDATE CURRENTTIMESTAMP, the default value should be excluded so as to not cause Doctrine to generate a PHP model with the string _CURRENT_TIMESTAMP ON UPDATE CURRENTTIMESTAMP as its default value. If Doctrine does this, whenever one saves/updates a record, MySQL gets _CURRENT_TIMESTAMP ON UPDATE CURRENTTIMESTAMP as the default value as a string, and shit goes haywire! Well, the field comes out as all zeros... which is pretty damn haywire!