How to get SQLite error in PHP/Laravel when quoted column does not exist
Related to my previous question, I found out that due to an error I made, Laravel generates a wrong SQL query: select * from "companies" where "companies"."id" = '9c54986f-8284-4da9-b826-c7a723de279b' and "companies"."deleted_at" is null and "company_id" = '9c54986f-8284-4da9-b826-c7a723de279b' The problem here…