from the Docs
Starting with MySQL 5.7, 0000-00-00 00:00:00 is no longer considered a valid date, since strict mode is enabled by default.
All timestamp columns should receive a valid default value when you insert records into your database.
You may use the useCurrent method in your migrations to default the timestamp columns to the current timestamps, or you may make the timestamps nullable to allow null value.
- so either add
$table->timestamp('foo')->nullable(); $table->timestamp('foo')->useCurrent(); $table->nullableTimestamps();
- or set (‘strict’ => false) in config/database – mysql options