X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/b93d6f12c16fed0b74441123a9c473c04732b1ff..5bdc01337b213b789f58b3a02596688082cfc129:/Resources/config/doctrine/User.orm.yml diff --git a/Resources/config/doctrine/User.orm.yml b/Resources/config/doctrine/User.orm.yml index cd5d307..fcc5712 100644 --- a/Resources/config/doctrine/User.orm.yml +++ b/Resources/config/doctrine/User.orm.yml @@ -43,7 +43,10 @@ Rapsys\AirBundle\Entity\User: name: dance_id subscribers: targetEntity: Rapsys\AirBundle\Entity\User - inversedBy: subscriptions + mappedBy: subscriptions + subscriptions: + targetEntity: Rapsys\AirBundle\Entity\User + inversedBy: subscribers joinTable: name: users_subscriptions joinColumns: @@ -51,10 +54,7 @@ Rapsys\AirBundle\Entity\User: name: user_id inverseJoinColumns: id: - name: subscriber_id - subscriptions: - targetEntity: Rapsys\AirBundle\Entity\User - mappedBy: subscribers + name: subscribed_id locations: targetEntity: Rapsys\AirBundle\Entity\Location inversedBy: users