Commit 4b7f89dc authored by Mat's avatar Mat
Browse files

Jointure Info et Lettre, ça semble plus correct comme ça

parent 71060a50
......@@ -34,8 +34,8 @@ class Lettre
* @var int
* @ORM\ManyToMany(targetEntity="PotageBundle\Entity\Info", inversedBy="lettres")
* @ORM\JoinTable(name="infos_lettres",
* joinColumns={@ORM\JoinColumn(name="id_info", referencedColumnName="id")},
* inverseJoinColumns={@ORM\JoinColumn(name="id_lettre", referencedColumnName="id")}
* joinColumns={@ORM\JoinColumn(name="id_lettre", referencedColumnName="id")},
* inverseJoinColumns={@ORM\JoinColumn(name="id_info", referencedColumnName="id")}
* )
*/
private $infos;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment