Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 1 year ago.
0

hello, do check your model Afspraak contains the following,

protected $fillable=['end','start'];

http://laravel.com/docs/eloquent#mass-assignment

Last updated 1 year ago.
0

Thanks for the reply Kensim86. Apparently it was some weird issue with Carbon and the timestamp field in the database. I've switched from Carbon to using Unix timestamps in my database + in my code and now it works properly.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

shansma shansma Joined 2 Feb 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.

© 2023 Laravel.io - All rights reserved.