Jira issue originally created by user ruscon:
"doctrine/orm": "2.5.1"
my db already have 2 schemas: public and protected.
I moving a table from the protected schema to the public and:
./bin/console doctrine:schema:update --force
ATTENTION: This operation should not be executed in a production environment.
Creating database schema...
[Doctrine\ORM\Tools\ToolsException]
Schema-Tool failed with Error 'An exception occurred while executing 'CREATE SCHEMA public':
SQLSTATE[42P06]: Duplicate schema: 7 ERROR: schema "public" already exists' while executing DDL: CREATE SCHEMA public
[Doctrine\DBAL\Exception\DriverException]
An exception occurred while executing 'CREATE SCHEMA public':
SQLSTATE[42P06]: Duplicate schema: 7 ERROR: schema "public" already exists
[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[42P06]: Duplicate schema: 7 ERROR: schema "public" already exists
[PDOException]
SQLSTATE[42P06]: Duplicate schema: 7 ERROR: schema "public" already exists
Comment created by ruscon:
this bug not in orm
Issue was closed with resolution "Fixed"