Category: postgresql

Symfony/PostGreSQL : An exception occurred in driver: could not find driver

i’m using Symfony 4.3.4 with a PostGreSQL server version 12.1, and i have some difficulties to connect my project to the database. I edited the .env file like that : DATABASE_URL=postgresql://user:[email protected]:5432/database?serverVersion=12.1&charset=utf8 After that i tried to make migrations, but i…

How to update multiple schema in postgresql with Symfony 2.8.26 & doctrine orm

We have the symfony 2.8.26 project with doctrine orm. We managed to connect to postgresql with multiple schema’s in single database. Now when we update any entity and execute command php app/console doctrine:schema:update it is only updating the postgresql public…

How can I use doctrine embeddable with json column?

In my Symfony project, I have a doctrine entity that contains a nested object. Like in the example below: /** * @ORMEntity(repositoryClass=”AppRepositoryEntityRepository”) */ class Enity { /** * @ORMId() * * @var int */ private $id; /** * @ORMColumn(type=”json”) *…