feat: add desciption to category and sub category

This commit is contained in:
2026-06-03 16:07:29 +03:30
parent 0cb4954579
commit c52a234835
8 changed files with 107 additions and 7 deletions
+1 -1
View File
@@ -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
{