I am new in laravel, for user login and registration I have created my own table named as 'provider_regs' which contains auto_id as a primary key (provider_regs table doesn't contain any key named as 'id'). After successful registration when I try to hit the same registration url in another tab then I am getting the following error page:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'provider_regs.id' in 'where clause' (SQL: select * from provider_regs
where provider_regs
.id
= 0 limit 1)
and when I do clear history then it won't show me that error page. I don't know what to do, Please give any suggestion.
provider_regs
whereprovider_regs
.id
= ? limit 1', array('0'), object(Closure)) in Connection.php line 596 at Connection->run('select * fromprovider_regs
whereprovider_regs
.id
= ? limit 1', array('0'), object(Closure)) in Connection.php line 315 at Connection->select('select * fromprovider_regs
whereprovider_regs
.id
= ? limit 1', array('0'), true) in Builder.php line 1389 – AmarjaPatil4