• 1000 появляется:
Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value (SQL: insert into `password_resets` (`email`, `token`, `created_at`) values (dev@gemail.com, $2y$10$0KSaAg13p5yWwEJTrKiFAeraitpjGgRV/GLbe3t2kW9qt7Nt5sajW, 2020-05-25 15:48:22)) in file /var/www/api.aqbank.com.br/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 671
Контроллер
class ForgotPasswordController extends Controller
{
use SendsPasswordResetEmails;
protected function sendResetLinkResponse(Request $request, $response)
{
return response (['message'=>$response]);
}
protected function sendResetLinkFailedResponse(Request $request, $response)
{
return response(['error'=>$response], 422);
}
}
Вы знаете, как сказать мне, где я мог пропасть?