prepared and gallery fixes

This commit is contained in:
2026-02-19 08:36:32 +01:00
parent 8935065af1
commit c30fa5a392
36 changed files with 1437 additions and 104 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ForumAttachment extends Model
{
protected $table = 'forum_attachments';
protected $fillable = [
'id','post_id','file_path','file_size','mime_type','width','height'
];
public $incrementing = true;
public function post()
{
return $this->belongsTo(ForumPost::class, 'post_id');
}
}