标签: php laravel laravel-4
像这样:
'emailadresa'=>'required|email|unique:users, email',
验证后我收到此错误:
SQLSTATE[42S22]: Column not found: 1054 Unknown column ' email' in ' where clause ' (SQL: select count(*) as aggregate from `users` where ` email` = example@yahoo.com)