-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
[PGSQL] multiple assignments to the same column #26995
Comments
Please post the whole query. |
|
How are you generating the query? |
In my model, i use
To get the results, i just put a dump($values). |
You must be doing something to trigger the query. Are you updating the model (e.g. |
This is my code (in a middleware):
|
What does your |
|
Debug stack trace on 5.8: The method
After,
So,
|
Has been fixed. |
Description:
When i update data in laravel 5.8, it will give me this:
array:3 [▼ "user.updated_at" => "2018-12-29 16:02:23" "last_cache_date" => "2018-12-29T16:02:23+00:00" "updated_at" => "2018-12-29 16:02:23" ]
And this cause this error:
On laravel 5.7 no problem:
array:2 [▼ "last_cache_date" => "2018-12-29T16:08:06+00:00" "updated_at" => "2018-12-29 16:08:06" ]
Steps To Reproduce:
Upgrade to laravel 5.8. Update data.
The text was updated successfully, but these errors were encountered: