X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/97a4f8640e809386ab5e5f49be9de63e52fdca95..210edb4ff9514169ff226e156b3fb96301c61801:/Resources/config/doctrine/User.orm.yml diff --git a/Resources/config/doctrine/User.orm.yml b/Resources/config/doctrine/User.orm.yml index b6161cb..6002651 100644 --- a/Resources/config/doctrine/User.orm.yml +++ b/Resources/config/doctrine/User.orm.yml @@ -26,6 +26,9 @@ Rapsys\AirBundle\Entity\User: snippets: targetEntity: Rapsys\AirBundle\Entity\Snippet mappedBy: user + googleTokens: + targetEntity: Rapsys\AirBundle\Entity\GoogleToken + mappedBy: user manyToMany: dances: targetEntity: Rapsys\AirBundle\Entity\Dance @@ -40,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: @@ -49,9 +55,6 @@ Rapsys\AirBundle\Entity\User: inverseJoinColumns: id: name: subscriber_id - subscriptions: - targetEntity: Rapsys\AirBundle\Entity\User - mappedBy: subscribers locations: targetEntity: Rapsys\AirBundle\Entity\Location inversedBy: users