25 lines
448 B
PHP
25 lines
448 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Support\Facades\Cache;
|
|
|
|
class TaggableTaggable extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
public static function boot()
|
|
{
|
|
Static::updating(function() {
|
|
//
|
|
});
|
|
}
|
|
|
|
protected $table = 'taggable_taggables';
|
|
protected $primaryKey = 'tag_id';
|
|
|
|
protected $guarded = [];
|
|
}
|