Updated cast for Category model
This commit is contained in:
parent
0e2d3dec2f
commit
b4e14b3151
@ -22,8 +22,8 @@ class Category extends Model
|
|||||||
'name' => 'string',
|
'name' => 'string',
|
||||||
'slug' => 'string',
|
'slug' => 'string',
|
||||||
'priority' => 'integer',
|
'priority' => 'integer',
|
||||||
'default' => 'bool',
|
'default' => 'boolean',
|
||||||
'visible' => 'bool'
|
'visible' => 'boolean'
|
||||||
];
|
];
|
||||||
|
|
||||||
public function scopeVisibled(Builder $builder)
|
public function scopeVisibled(Builder $builder)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user