Support the ongoing development of Laravel.io →
Input Database Blade
Last updated 2 years ago.
0

set the column default value to NULL in your database db structure

or in your migration script

$table->timestamp('start_date')->nullable();
Last updated 5 years ago.
0

Change you migration script according below given:

$table->timestamp('start_date')->nullable()->default(null);

Hope this work for you.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

icodejc icodejc Joined 10 Dec 2016

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.

© 2024 Laravel.io - All rights reserved.