feat: add desciption to category and sub category
This commit is contained in:
@@ -10,7 +10,7 @@ class SubCategory extends Model
|
||||
{
|
||||
protected $table = 'sub_categories';
|
||||
|
||||
protected $fillable = ['category_id', 'name'];
|
||||
protected $fillable = ['category_id', 'name', 'description'];
|
||||
|
||||
public function category(): BelongsTo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user