File tree Expand file tree Collapse file tree
user_guide_src/source/models Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,9 +174,10 @@ Leave it empty to avoid update it (even useTimestamps is enabled)
174174
175175**$dateFormat **
176176
177- This value works with $useTimestamps to ensure that the correct type of date value gets
178- inserted into the database. By default, this creates DATETIME values, but valid options
179- are: datetime, date, or int (a PHP timestamp).
177+ This value works with $useTimestamps and $useSoftDeletes to ensure that the correct type of
178+ date value gets inserted into the database. By default, this creates DATETIME values, but
179+ valid options are: datetime, date, or int (a PHP timestamp). Using 'useSoftDeletes' or
180+ 'useTimestamps' with an invalid or missing dateFormat will cause an exception.
180181
181182**$validationRules **
182183
You can’t perform that action at this time.
0 commit comments