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
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
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community