This commit is contained in:
Romulus21
2024-04-01 20:16:04 +02:00
parent 73a5cd4e2f
commit a172cdeb37
5 changed files with 53 additions and 5 deletions

View File

@@ -17,6 +17,10 @@ class ToDo extends Model
'description',
];
protected $casts = [
'checked' => 'datetime',
];
public function user(): BelongsTo
{
return $this->belongsTo(User::class);