Fixes on tag_Groups and variations, add migrations
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
|
||||
namespace App\Models\Shop;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
// use Spatie\Translatable\HasTranslations;
|
||||
use Rinvex\Tags\Models\Tag as parentTag;
|
||||
|
||||
use App\Models\Botanic\Specie;
|
||||
@@ -12,9 +9,16 @@ use App\Models\Botanic\Variety;
|
||||
|
||||
class Tag extends parentTag
|
||||
{
|
||||
// use HasTranslations;
|
||||
|
||||
protected $guarded = ['id'];
|
||||
protected $fillable = [
|
||||
'slug',
|
||||
'name',
|
||||
'description',
|
||||
'sort_order',
|
||||
'group',
|
||||
'tag_group_id',
|
||||
];
|
||||
public $translatable = ['name'];
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user