fixed filament resource forms

This commit is contained in:
2025-09-10 19:28:16 +02:00
parent 837155f54c
commit 40aa5fc188
10 changed files with 317 additions and 12 deletions

18
app/Models/PhotoLike.php Normal file
View File

@@ -0,0 +1,18 @@
<?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);
}
}