\DB::statement("SET SQL_MODE=''");//this is the trick use it just before your query
or
In config\database.php --> "mysql" array
Set 'strict' => false to disable all.
\DB::statement("SET SQL_MODE=''");//this is the trick use it just before your query
or
In config\database.php --> "mysql" array
Set 'strict' => false to disable all.
You cannot comment on this entry