In Laravel 8, I'm making a webapp, I enabled the default user registration with jetstream + livewire. Also, I added Voyager as an admin panel. I have a small issue in my users table I have both 'profile_photo_path' (From Laravel's default migration) and I also have 'avatar' (From Voyager).
Is there a way to unify that? I'm thinking maybe I can remove the profile_photo_path from the migration (As that's part of the project's files) and just use avatar.
Maybe that's configurable and I don't know that.
Well, by changing the HasProfilePhoto trait and removing profile_photo_path from database/migrations/2014_10_12_000000_create_users_table.php I managed to use only one column (avatar) for both the Jetstream users and the Voyager users.
I simply replaced profile_photo_path
---> avatar
in the trait, it all seems to be working so I don't think it broke something.