lots of progress

This commit is contained in:
2025-02-01 15:31:47 +02:00
parent 1362ceb642
commit 83b90aa7a0
40 changed files with 1046 additions and 44 deletions
+6 -1
View File
@@ -6,5 +6,10 @@ use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
//
protected $table = 'forum_categories';
public function threads()
{
return $this->hasMany(Thread::class, 'category_id', 'id');
}
}