I am trying to run migrations on my Laravel instance. They are just the default migrations (users and password resets) but when it tries to make the timestamps it throws this e
This is due to MySQL not accepting zero as a valid default date so you can write
$table->timestamp('created_at')->nullable(); $table->timestamp('updated_at')->nullable();
or $table->nullableTimestamps();
$table->nullableTimestamps();
Instead of $table->timestamps();
$table->timestamps();