Skip to content

Commit

Permalink
Update Model.php
Browse files Browse the repository at this point in the history
Fixed #33
  • Loading branch information
travisaustin authored Nov 4, 2024
1 parent ceb0a4c commit 63acad4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Support/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ abstract class Model implements Arrayable, ArrayAccess, Jsonable, JsonSerializab
*/
protected bool $timestampsInMilliseconds = true;

/**
* Indicates if the model was inserted during the object's lifecycle.
*
* This is here for Laravel 9+ compatibility, even though we never use this property.
*
* @var bool
*/
public $wasRecentlyCreated = false;

/**
* The name of the "created at" column.
*
Expand Down

0 comments on commit 63acad4

Please sign in to comment.