I've already got a MySQL database therefore I wish to create mapping meta data from the existing database.
php app/console doctrine:mapping:convert xml ./src/MainBundle/Resources/config/doctrine/metadata/orm --from-database --force
However I got the following exception
[Doctrine\ORM\Mapping\MappingException]
Property "customerid" in "Accountcustomer" was already declared, but it must be declared only once
I haven't used customerId in any primary / composite key anywhere else in the database however I've used it as a foreign key several times.
However I do not know how having customerId in a composite key or another primary key could affect this.