From 196f0a42b19c6902e7c65732dab1e294c0d2958a Mon Sep 17 00:00:00 2001 From: Trex Date: Tue, 28 Apr 2020 15:35:54 +0800 Subject: [PATCH] added left and right column name for baux support --- src/Models/InventoryCategory.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Models/InventoryCategory.php b/src/Models/InventoryCategory.php index c44ba9aa..e1cb9aee 100644 --- a/src/Models/InventoryCategory.php +++ b/src/Models/InventoryCategory.php @@ -9,6 +9,9 @@ class InventoryCategory extends Node { use CategoryTrait; + protected $leftColumnName = 'lft'; + protected $rightColumnName = 'rgt'; + protected $fillable = [ 'name', ];