Support the ongoing development of Laravel.io →
Validation Eloquent Configuration
Last updated 2 years ago.
0

check if that field has a default value? if its timestamp it may update automatically.. especially if it is an updated_at timestamp?

wheres your model or db code?

actually you can see that:

string 'update orders set estado = ?, updated_at = ? where id = ?' (length=65)

its updated_at that is being updated, i am guessing translations or some funky stuff is telling laravel updated_at is infact that field.. ie fecha_pedido

0

Thank you shez1983! the field did have a default value. It was "CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP" and I have no idea how it got there. Here's the screenshot.

https://drive.google.com/file/d/0BxvHti6YSvyPd2M2RWlGY3dJLVE/view?usp=sharing

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

franck franckweb Joined 17 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.