Modificato schema

http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/unitofwork-associations.html look there!