diff --git a/app/User.php b/app/User.php index 896ad12d..72963400 100644 --- a/app/User.php +++ b/app/User.php @@ -65,7 +65,7 @@ class User extends Authenticatable public function filters() { - return $this->hasMany(UserFilter::class); + return $this->hasMany(UserFilter::class, 'user_id', 'profile_id'); } public function receivesBroadcastNotificationsOn()