Spatie UUID model_has_role model_id return 0 when assignRole()
I’m trying to use UUID for spatie, and followed the instruction from official document. Everything went well until I have to assignRole to user.
I’m trying to use UUID for spatie, and followed the instruction from official document. Everything went well until I have to assignRole to user.