laravel-crud-api
laravel-crud-api copied to clipboard
DB table missing require field
When selecting "Administration" -> "Permissions" then selecting people icon -> "Users with this permission" the following error is thrown from both crm and cms code:
"local.ERROR: Debugbar exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'api_token' in 'where clause' (SQL: select * from users
where api_token
= eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMC9hcGkvYXV0aC9sb2dpbiIsImlhdCI6MTU4MTg4MjI5NywiZXhwIjoxNTgxODg1ODk3LCJuYmYiOjE1ODE4ODIyOTcsImp0aSI6ImxaTDNNR2xsaGV4SHoySmIifQ.1ksWBqg4q9I2bCHxUcvY7ZUc2qxAX9Fyqj0IJXcrd8c limit 1) " NOTE: api_token
field does not exist in the users table.