diff --git a/app/User.php b/app/User.php index 896ad12d6..72963400f 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()