mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
decided to leave the posts.discussion_id foreign key constraint to discussions out for now
This commit is contained in:
@@ -121,7 +121,7 @@ class Group extends AbstractModel
|
||||
*/
|
||||
public function users()
|
||||
{
|
||||
return $this->belongsToMany(User::class, 'users_groups');
|
||||
return $this->belongsToMany(User::class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user