Support the ongoing development of Laravel.io →
Database Eloquent Forms
Last updated 1 year ago.
0

make the field nullable and default null

Last updated 7 years ago.
0

So basically every field in my table needs to have a default value of NULL if no value is being inserted into it?

0

This is not how it should work - it was working fine before and now it asks for this

0

it's an easy fix!

just add


'strict' => false,

into config/database.php within mysql array

0

Sign in to participate in this thread!

Eventy

Your banner here too?

jerauf jerauf Joined 16 Feb 2014

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.