Files
fotospiel-app/app/Models/PhotoLike.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

21 lines
359 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class PhotoLike extends Model
{
protected $table = 'photo_likes';
protected $guarded = [];
public $timestamps = false;
public function photo(): BelongsTo
{
return $this->belongsTo(Photo::class);
}
}