add test
This commit is contained in:
@@ -17,6 +17,10 @@ class ToDo extends Model
|
||||
'description',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'checked' => 'datetime',
|
||||
];
|
||||
|
||||
public function user(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(User::class);
|
||||
|
||||
Reference in New Issue
Block a user