Commit 25c7e7ba authored by Sebastian Yandun's avatar Sebastian Yandun

Rename belongs to many keys

parent 856670ab
...@@ -620,7 +620,7 @@ class User extends Eloquent { ...@@ -620,7 +620,7 @@ class User extends Eloquent {
public function groups() public function groups()
{ {
return $this->belongsToMany('Group', null, 'users', 'groups'); return $this->belongsToMany('Group', null, 'user_ids', 'group_ids');
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment