mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Convert deprecated $dates property to $casts
This commit is contained in:
@@ -31,5 +31,7 @@ class AuthLog extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'authlog';
|
||||
protected $dates = ['datetime'];
|
||||
protected $casts = [
|
||||
'datetime' => 'datetime',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user