In my migration I have two extra timestamp
$table->timestamp('starts_at');
$table->timestamp('ends_at');
I dont want them to be nullable,problem is,when i run php artisan migrate I returns
Syntax error or access violation: 1067 Invalid default value for 'ends_at'
I have $table->timestamps() at the bottom. How can I have my custom timestamp column/s and not nullable
A way around is to simply put nullable() at the end but its not a fix.using laravel 5.7