Skip to content

Commit

Permalink
Update Archivable.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher authored Feb 9, 2024
1 parent 40e25fa commit ef01f1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Archivable.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public function initializeArchivable()
if (! isset($this->casts[$this->getArchivedAtColumn()])) {
$this->casts[$this->getArchivedAtColumn()] = 'datetime';
}

$this->addObservableEvents([
'archiving',
'archived',
Expand Down

0 comments on commit ef01f1d

Please sign in to comment.