mirror of
https://github.com/flarum/core.git
synced 2025-08-10 18:35:56 +02:00
fixed several column changes found by tests
This commit is contained in:
@@ -399,7 +399,7 @@ class Discussion extends AbstractModel
|
||||
*/
|
||||
public function readers()
|
||||
{
|
||||
return $this->belongsToMany(User::class, 'users_discussions');
|
||||
return $this->belongsToMany(User::class, 'discussions_users');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user