New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UUID user_type and user_id store error #918
Comments
In the file OwenIt\Auditing\Auditable; I set the variables manually just for testing then noticed that the functions $user->getAuthIdentifier() and $user->getMorphClass() it's not working for me. |
Just wanna make sure, have you use |
User resolver returns |
I use laravel 9 and I'm using UUID in all tables.
I'm having problems registering the user_id and user_type. The other fields are registered normally.
I`m using API with Sanctum Auth
I didnt found $table->nullableMorphs('owner') on my User migration.
Audit migration
The text was updated successfully, but these errors were encountered: