sqlstate 23000 integrity constraint violation 1048 column 'name' cannot be null laravel code example
Example: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'image' cannot be null (SQL: update `logins` set `name` = testdata, `image` = ?, `logins`.`updated_at` = 2020-12-22 11:29:55 where `id` = 48)
//dd($request->all());
$user=User::create([
'name'=>$request->name,
'email'=>$request->email,
'password'=>bcrypt('password')
]);
$profile=Profile::create([