I'm using PostgreSQL "5.4. *"
Using MySQL, after php artisan migrate
ok.
But now I need to use PostgreSQL in the project, but after changing the DB:
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=laravel-api
DB_USERNAME=postgres
DB_PASSWORD=1234
Give me this error:
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
Detail, the environment is Windows.