I need to add to my entity Agency, a relation to the Country entity. When I run php bin/console make:entity Agency I can add string fields, int fields, etc... But when I wan to add my country field with type relation, Doctrine shows up an error :
In PDOConnection.php line 31:
could not find driver
In PDOConnection.php line 27:
could not find driver
I looked in my php.ini to see which driver what active by running php -m and my driver pdo_pgsql is active.
In my doctrine.yaml file :
doctrine:    dbal:        default_connection: default        connections:            default:                url: '%env(resolve:DATABASE_URL)%'                driver: 'pdo_pgsql'                server_version: '15.1'I really don't see what am I doing wrong... Do you have any idea?
Thanks