Skip to content

Commit

Permalink
Add INT option for deleted_at
Browse files Browse the repository at this point in the history
  • Loading branch information
MGatner authored Jun 11, 2019
1 parent 7830843 commit d0df68a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions user_guide_src/source/models/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ can maintain a "recycle bin" of objects that can be restored, or even simply pre
part of a security trail. If true, the find* methods will only return non-deleted rows, unless
the withDeleted() method is called prior to calling the find* method.

This requires a DATETIME field to be present in the table for storing state. The default field
name is ``deleted_at`` however this name can be configured to any name of your choice by using
$deletedField property.
This requires requires either a DATETIME or INTEGER field in the database as per the model's
$dateFormat setting. The default field name is ``deleted_at`` however this name can be
configured to any name of your choice by using $deletedField property.

**$allowedFields**

Expand Down

0 comments on commit d0df68a

Please sign in to comment.