Category : database-schema

I’m trying to execute schema update with custom entity manager, so I can select witch entity folder to make an schema update. But with my config I cant make it work. I have this config: doctrine: orm: default_entity_manager: default entity_managers: default: connection: default mappings: Main: is_bundle: false type: annotation dir: ‘%kernel.project_dir%/src/AppBundle/Entity’ prefix: ‘AppBundle/Entity’ alias: Main ..

Read more

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 schema. How can we update all schemas in postgres with command? Source: Symfony..

Read more