Estou utilizando o PostgreSQL "5.4.*"
Utilizando o MySQL, após o php artisan migrate
tdo ok.
Porém agora preciso utilizar o PostgreSQL no projeto, porém após mudar o DB:
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=laravel-api
DB_USERNAME=postgres
DB_PASSWORD=1234
Me da este erro:
D:\wamp64\www\laravel\laravel-api>php artisan migrate
[Illuminate\Database\QueryException]
could not find driver (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations)
[PDOException]
could not find driver
Detalhe, o ambiente é Windows.
database.php
completo.