🆙 Added fixed cms

This commit is contained in:
Remco
2026-01-07 19:32:43 +01:00
parent fdb0dc276d
commit 711fa2c29e
3992 changed files with 183381 additions and 0 deletions
@@ -0,0 +1,27 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class PasswordResetToken extends Model
{
protected $primaryKey = 'token';
protected $fillable = ['email', 'token', 'created_at'];
// timestamps = true, but we don't have "UPDATED_AT". To prevent an error, we set the default value to `null`.
public const UPDATED_AT = null;
public function user(): BelongsTo
{
return $this->belongsTo(User::class, 'email', 'mail');
}
protected function casts(): array
{
return [
'created_at' => 'date',
];
}
}