1
0
mirror of https://github.com/flarum/core.git synced 2025-10-17 17:56:14 +02:00

Fix column names

This commit is contained in:
Toby Zerner
2018-07-21 15:24:51 +09:30
parent fb6b2d05b1
commit 93b9513df2
3 changed files with 4 additions and 4 deletions

View File

@@ -380,7 +380,7 @@ class Discussion extends AbstractModel
*/
public function lastUser()
{
return $this->belongsTo(User::class, 'last_user_id');
return $this->belongsTo(User::class, 'last_posted_user_id');
}
/**