Well mysql log would tell you more but im suspecting CreatedAt and UpdatedAt fields does not exists.As far i know by default you need to have them...
[EDIT]Sorry didnt noticed you turned off timestamp's.Anyway check mysql and php log's for errors it will tell you more...
qICEp said:
Well mysql log would tell you more but im suspecting CreatedAt and UpdatedAt fields does not exists.As far i know by default you need to have them...
[EDIT]Sorry didnt noticed you turned off timestamp's.Anyway check mysql and php log's for errors it will tell you more...
I've checked and they don't report any errors, I'm not using mysql, I'm using Sql server. I really don't understand what can it be. Maybe the SQL queries for updating and deleting are wrong, but I don't know how to check them.
I am also using capsule
and I cannot get to update . I am using sqlite. It works fine on mysql though.
Did you define either $fillable or $guarded in the model?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community