Convert deprecated $dates property to $casts

This commit is contained in:
Shift
2022-11-09 16:33:43 +01:00
committed by Jellyfrog
parent ec84d44d10
commit 7b65cef6bf
+3 -1
View File
@@ -31,5 +31,7 @@ class AuthLog extends Model
{
public $timestamps = false;
protected $table = 'authlog';
protected $dates = ['datetime'];
protected $casts = [
'datetime' => 'datetime',
];
}