'datetime', 'template_version' => 'integer', ]; } protected static function booted(): void { static::updating(fn () => throw new \LogicException('driver_dsgvo_confirmations is insert-only')); static::deleting(fn () => throw new \LogicException('driver_dsgvo_confirmations is insert-only')); } public function driver(): BelongsTo { return $this->belongsTo(User::class, 'driver_id') ->withoutGlobalScope(ExcludeAnonymizedScope::class); } }