mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix joinColumn definition bug in Person
Due to bug http://www.doctrine-project.org/jira/browse/DDC-2742 (?), the relation between person and spoken_languages was broken. We configure the relation explicitly (providing joincolumns) to avoid this bug.
This commit is contained in:
parent
af66ac2c1a
commit
6c515342d7
@ -61,4 +61,10 @@ Chill\PersonBundle\Entity\Person:
|
||||
targetEntity: Chill\MainBundle\Entity\Language
|
||||
joinTable:
|
||||
name: persons_spoken_languages
|
||||
joinColumns:
|
||||
person_id:
|
||||
referencedColumnName: id
|
||||
inverseJoinColumns:
|
||||
language_id:
|
||||
referencedColumnName: id
|
||||
lifecycleCallbacks: { }
|
||||
|
Loading…
x
Reference in New Issue
Block a user