update category model

This commit is contained in:
Russ Long 2022-08-06 15:50:07 -04:00
parent 003e686224
commit 3ac8d12c15

View File

@ -7,6 +7,8 @@ use Illuminate\Database\Eloquent\Model;
class CarShowCategory extends Model class CarShowCategory extends Model
{ {
protected $table = 'car_show_categories'; protected $table = 'car_show_categories';
protected static ?string $recordTitleAttribute = 'category_name';
protected $fillable = [ protected $fillable = [
'category_name', 'category_name',
'vehicle_type' 'vehicle_type'