Initial commit
This commit is contained in:
24
app/Models/TaggableTaggable.php
Normal file
24
app/Models/TaggableTaggable.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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 = [];
|
||||
}
|
||||
Reference in New Issue
Block a user