- I am using user_sk as primary key in users table
- When authenticate with passport its not overriding primary key from model
- Already palced User model have protected $primaryKey = 'user_sk';
Its always shows error like this
"message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'where clause' (SQL: select * from `users` where `id` = 32 limit 1)"