Files
fotospiel-app/app/Models/LegalPage.php
Codex Agent fa33e7cbcf Fix Event & EventType resource issues and apply formatting
- 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
2026-01-21 10:34:06 +01:00

20 lines
347 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class LegalPage extends Model
{
protected $table = 'legal_pages';
protected $guarded = [];
protected $casts = [
'title' => 'array',
'body_markdown' => 'array',
'is_published' => 'boolean',
'effective_from' => 'datetime',
];
}