mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-04 01:09:58 -05:00
(Refactoring) Forum Controller: fix query n + 1 problem
This commit is contained in:
@@ -81,6 +81,10 @@ class Topic extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
protected $casts = [
|
||||
'last_reply_at' => 'datetime',
|
||||
];
|
||||
|
||||
/**
|
||||
* Belongs To A Forum.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user