-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
fixing entity after remap #4950
Comments
I don't understand what's the issue here nor the code is not readable. Please format your code using markdown. |
see it again |
If I understood correctly, your remapping of date fields added in the Try flipping the property mapping: protected $datamap = [
'created_at' => 'createdAt',
'updated_at' => 'updatedAt',
'deleted_at' => 'deletedAt',
]; |
no you are wrong |
Well, I'm not suggesting you're a beginner whatsoever. I'm just trying to let you try some options to debug your issue. And mind you, the docs recently got changed with this PR #4937 |
after $datamap filed
to
each time create new data to table filed set value for both them
but only should do for created_at not for all
'createdAt' => 'created_at',
'updatedAt' => 'updated_at' ,
here table after insert
id= 38
key =xxoyox
value= yyyy
description=jhdfjshfjsdf
status=0
craeted_at=2021-07-19 13:25:18
updated_at=2021-07-19 13:25:18
deleted_at=NULL
heres code
The text was updated successfully, but these errors were encountered: