Better to use zero-date '0000-00-00 00:00:00' or NULL in MySQL?
MySQL 5.7 defaults to disallowing 0000-00-00 00:00:00
as default value, unless you set sql_mode = ''
. It seems MySQL wants you to use NULL
as default value.
MySQL 5.7 defaults to disallowing 0000-00-00 00:00:00
as default value, unless you set sql_mode = ''
. It seems MySQL wants you to use NULL
as default value.