mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 22:17:26 +01:00
Optimized schema mapping
This commit is contained in:
parent
ad00c57143
commit
492b9bed4a
@ -41,7 +41,7 @@ final class Relation extends AbstractMeta implements RelationInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Childs represent the by the object produced relations.
|
* Childs represent the by the object produced relations.
|
||||||
* @ORM\ManyToMany(targetEntity="Relation")
|
* @ORM\ManyToMany(targetEntity="Relation",inversedBy="parents")
|
||||||
* @ORM\JoinTable(name="meta_relation_childs",
|
* @ORM\JoinTable(name="meta_relation_childs",
|
||||||
* joinColumns={@ORM\JoinColumn(name="relation_id", referencedColumnName="id")},
|
* joinColumns={@ORM\JoinColumn(name="relation_id", referencedColumnName="id")},
|
||||||
* inverseJoinColumns={@ORM\JoinColumn(name="child_id", referencedColumnName="id")}
|
* inverseJoinColumns={@ORM\JoinColumn(name="child_id", referencedColumnName="id")}
|
||||||
|
Loading…
Reference in New Issue
Block a user