Queries work fine on local but I'm somehow getting "Could not find driver connection"
Queries work fine on local (sqlite) but I'm somehow getting "Could not find driver connection: , SQL: ..." error in production (pgsql) in squire model package

Solution:Jump to solution
GitHub
How to install and use? · squirephp squire · Discussion #13
Hi, at the moment I try to figure out how to use the project in my application. I followed the instructions by installing squire via composer require squirephp/countries-en The instruction says, th...
8 Replies
Please help
Tomorrow is the deadline to ship to my customer. I can't expect that error. I have to create a currency table or sth? In my local don't need to create table for that!
Did you run
php artisan migrate
in your production server?Bro yes of course
I mean, you can't be too cautious 🙂 And this error seems like a missing migration.
If you are sure that you ran it - then check that the migration file is loaded and is inside the database. Then check that the table exists inside your database
currencies table does not have local as well
local is working with sqlite but production with pgsql (not)
Solution
GitHub
How to install and use? · squirephp squire · Discussion #13
Hi, at the moment I try to figure out how to use the project in my application. I followed the instructions by installing squire via composer require squirephp/countries-en The instruction says, th...
It seems that they use cached sqlite database model, which would not be present in the production (since storage is in gitignore). Try to run setup command in prod and see if it works
let me check thank you so much