protected $primaryKey = 'key';
public $incrementing = false;
protected $keyType = 'string';
protected $fillable = [
'key',
'value',
'scope',
'label',
'description',
'type',
'options',
'is_readonly',
];
//I already add this for the delete but not working
public function getRouteKeyName(): string
{
return 'key';
}
protected $primaryKey = 'key';
public $incrementing = false;
protected $keyType = 'string';
protected $fillable = [
'key',
'value',
'scope',
'label',
'description',
'type',
'options',
'is_readonly',
];
//I already add this for the delete but not working
public function getRouteKeyName(): string
{
return 'key';
}