forked from joomla/upgrade-checklist
Update datetime.md
This commit is contained in:
parent
236de3634d
commit
3082708867
@ -2,6 +2,7 @@
|
|||||||
In Joomla 3 we were used to setting the default for a datetime field to 0000-00-00 00:00:00. Since J4 (because of the mysql 8.0 requirement) that is no longer a valid default value. So it should be set to NULL.
|
In Joomla 3 we were used to setting the default for a datetime field to 0000-00-00 00:00:00. Since J4 (because of the mysql 8.0 requirement) that is no longer a valid default value. So it should be set to NULL.
|
||||||
|
|
||||||
To do so, you would change your field settings to these:
|
To do so, you would change your field settings to these:
|
||||||
Data default = Other
|
|
||||||
Other Default = EMPTY
|
Data default = Other\
|
||||||
|
Other Default = EMPTY\
|
||||||
Null switch = NULL
|
Null switch = NULL
|
Loading…
Reference in New Issue
Block a user