I'm looking for a way to make doctrine using TIMESTAMP
instead of DATETIME
for MySql.
Additionaly I need to set ON UPDATE CURRENT_TIMESTAMP
and CURRENT_TIMESTAMP
as default values.
I would like to have the possibility to have all this code in PHP annotations to have everything in one central place.
How can I do that?