- Fix EventType deletion error handling (constraint violations) - Fix Event update error (package_id column missing) - Fix Event Type dropdown options (JSON display issue) - Fix EventPackagesRelationManager query error - Add missing translations for deletion errors - Apply Pint formatting
23 lines
406 B
PHP
23 lines
406 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
use Spatie\Tags\Tag;
|
|
use Spatie\Translatable\HasTranslations;
|
|
|
|
class BlogTag extends Tag
|
|
{
|
|
use HasFactory, HasTranslations, SoftDeletes;
|
|
|
|
protected $translatable = [
|
|
'name',
|
|
];
|
|
|
|
protected $fillable = [
|
|
'slug',
|
|
'translations',
|
|
];
|
|
}
|