Code using the UserExternalSource model expects user ID to be
an integer, and not a string:
$externalUser = UserExternalSource::find(1); // Does something with $externalUser->user_id
Eloquent allows to specify attributes casting with a $casts array.