Moved dates to casts
This commit is contained in:
@@ -45,15 +45,9 @@ class Component extends Model implements HasPresenter
|
||||
'group_id' => 'int',
|
||||
'description' => 'string',
|
||||
'link' => 'string',
|
||||
'deleted_at' => 'date',
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be mutated to dates.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $dates = ['deleted_at'];
|
||||
|
||||
/**
|
||||
* The fillable properties.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user