diff --git a/src/Models/SocialProviderUser.php b/src/Models/SocialProviderUser.php index 38e27a8..1e16889 100644 --- a/src/Models/SocialProviderUser.php +++ b/src/Models/SocialProviderUser.php @@ -11,7 +11,7 @@ class SocialProviderUser extends Model protected $table = 'social_provider_user'; // Prevents the "returning id" default behaviour - protected $primaryKey = ['user_id', 'provider_slug']; + protected $primaryKey = 'user_id'; // Prevents the auto-increment default behaviour public $incrementing = false;