Hello. I have a database with this tables:
users:
email VARCHAR(100) PK
password VARCHAR(128)
session_id VARCHAR(45)
user_profile:
email VARCHAR(100) PK FK(users.email)
name VARCHAR(255)
When I execute the command:
php app/console doctrine:mapping:convert yml ./src/Test/AccountsBundle/Resources/config/doctrine/metadata/orm --from-database --force
I get the error:
[Doctrine\ORM\Mapping\MappingException]
Property "email" in "UserProfile" was already declared, but it must be declared only once
Any idea?
Regards
