Stelle das U0-Fundament mit CMS, Mitgliedern und Filament bereit.
Deploy Test / test (push) Successful in 2m25s
Deploy Test / deploy (push) Failing after 25s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-15 08:32:14 +01:00
1 parent 89b35ac480
commit 2035c46edd
130 files changed
+18519 -50

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
<?php
namespace App\Domain\Cms;
use App\Models\User;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class PageRevision extends Model
{
public const UPDATED_AT = null;
protected $fillable = [
'page_id',
'blocks',
'seo_title',
'seo_description',
'created_by',
];
protected function casts(): array
{
return [
'blocks' => 'array',
'created_at' => 'datetime',
];
}
public function page(): BelongsTo
{
return $this->belongsTo(Page::class);
}
public function author(): BelongsTo
{
return $this->belongsTo(User::class, 'created_by');
}
}