mirror of
https://github.com/flarum/core.git
synced 2025-08-08 17:36:38 +02:00
decided to leave the posts.discussion_id foreign key constraint to discussions out for now
This commit is contained in:
@@ -400,7 +400,7 @@ class Discussion extends AbstractModel
|
||||
*/
|
||||
public function readers()
|
||||
{
|
||||
return $this->belongsToMany(User::class, 'discussions_users');
|
||||
return $this->belongsToMany(User::class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user