1
0
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:
Daniel Klabbers
2018-05-14 11:34:24 +02:00
parent 7539c25048
commit fd859e33be
6 changed files with 12 additions and 9 deletions

View File

@@ -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');
}
/**