From 3ac8d12c158186b4fca33f00a4929ecd08d50c3f Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sat, 6 Aug 2022 15:50:07 -0400 Subject: [PATCH] update category model --- app/Models/CarShowCategory.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/CarShowCategory.php b/app/Models/CarShowCategory.php index e94defe..b562084 100644 --- a/app/Models/CarShowCategory.php +++ b/app/Models/CarShowCategory.php @@ -7,6 +7,8 @@ use Illuminate\Database\Eloquent\Model; class CarShowCategory extends Model { protected $table = 'car_show_categories'; + protected static ?string $recordTitleAttribute = 'category_name'; + protected $fillable = [ 'category_name', 'vehicle_type'