Update requests fail with "could not be converted to string" error #783
Unanswered
commadelimited
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Actual Behavior
I'm pretty sure this is just a configuration issue, but don't see what I'm missing, so I'm hoping the community can help me identify the error in my setup.
$request->user()
returns a full user object with roles, scopes, name, etc.uuid
field as a top level property which is what I'd like to use for theuser_id
field when storing records in the audits table.And the actual SQL / values that are trying to be inserted into the database (around stack trace entry #9)
Here's my migration
Here's my
config/audits.php
fileExpected Behavior
I'm not sure what the SQL is supposed to look like but I'm guessing I'm simply giving it the wrong inputs in the config. Could someone please help me make the necessary change?
Beta Was this translation helpful? Give feedback.
All reactions