sfelix-martins / passport-multiauth

Add support to multi-authentication to Laravel Passport
MIT License
288 stars 51 forks source link

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'api_token' #105

Closed SachinBahukhandi closed 4 years ago

SachinBahukhandi commented 5 years ago

Hi there, I am facing this strange issue recently. I used this library earlier for a different project and didn't encounter this issue. Moreover the issue is that in the last project I didn't have an api_token column. This is the issue:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'api_token' in 'where clause' (SQL: select * from users where api_token = MYTOKEN

sfelix-martins commented 4 years ago

Hi @SachinBahukhandi

I'm sorry, but I think that it isn't related with the package.