Support the ongoing development of Laravel.io →
Laravel
Last updated 3 weeks ago.
0

Field 'description' doesn't have a default value

you should probabaly make that column nullable

https://laravel.com/docs/5.8/migrations#column-modifiers

Last updated 3 years ago.
0

Either make the description column nullable (default null or empty string) or $description = request()->get('description','fallbackVal');

0

Make the field nullable in MySQL

0

Glad it’s working

0

Sign in to participate in this thread!

LoadForge

Your banner here too?

yosra yosra yosrabettaieb Joined 1 Feb 2018

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.