Skip to content

Commit f199ccb

Browse files
authored
Merge pull request #5989 from kenjis/fix-docs-soft-deletes
docs: add that `deleted_at` column must be nullable
2 parents 5ccb503 + 0c442fa commit f199ccb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

user_guide_src/source/models/model.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ This requires either a DATETIME or INTEGER field in the database as per the mode
131131
``$dateFormat`` setting. The default field name is ``deleted_at`` however this name can be
132132
configured to any name of your choice by using ``$deletedField`` property.
133133

134+
.. important:: The ``deleted_at`` field must be nullable.
135+
134136
$allowedFields
135137
--------------
136138

0 commit comments

Comments
 (0)