🆙 Add fixed cms 🆙

This commit is contained in:
Remco
2026-02-02 19:30:21 +01:00
parent b1a2cab62d
commit b67e0ec2b9
3982 changed files with 193682 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class CommandLog extends Model
{
use HasFactory;
protected $table = 'commandlogs';
protected $primaryKey = 'timestamp';
protected $guarded = [];
public $timestamps = false;
protected $casts = [
'timestamp' => 'datetime',
];
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}