Skip to content

Commit

Permalink
Add property to be casted as a carbon date
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyDavidson committed Dec 28, 2023
1 parent 62477c2 commit ad48331
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Models/TitleChampionship.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class TitleChampionship extends Model
protected $casts = [
'won_at' => 'datetime',
'lost_at' => 'datetime',
'last_held_reign' => 'datetime',
];

/**
Expand Down

0 comments on commit ad48331

Please sign in to comment.