Our company's DBA wants we set default value of timestamp
table column to 1970-01-01 00:00:00
, but we have already written many programs that using 0000-00-00 00:00:00
to check if
sentence.
We have used Laravel 5 and MySQL 5.6
If there are any solution that we can change all original column value which belong to timestamp
type to 0000-00-00 00:00:00
when the time is 1970-01-01 00:00:00
?
Thank you very much.