我在Laravel 5.1中使用Sarav 多重身份验证 strong>。 用户登录和注册都很顺利。 但是,当我单击“忘记密码”链接并提交该表单显示
SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect table name '' (SQL: delete from `` where `email` = pawandongol@gmail.com)
我无法通过重置表格发送密码重置链接。 请帮助解决该错误。 谢谢!!!I belive you already have the solution, but, for others:
" Got same error and fixed it by changing one line in migration file what was created before. My file: /database/migrations/2016_02_29_160852_entrust_setup_tables.php
$table->foreign('user_id')->references('id')->on('') to $table->foreign('user_id')->references('id')->on('users') "
Source: enter link description here and enter link description here