]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/User.orm.yml
Update index name
[airbundle] / Resources / config / doctrine / User.orm.yml
index b6161cbf983cd1aa8467b99de01526dd340c36af..600265143341e2a5fcc2e992288a715081cc4781 100644 (file)
@@ -26,6 +26,9 @@ Rapsys\AirBundle\Entity\User:
         snippets:
             targetEntity: Rapsys\AirBundle\Entity\Snippet
             mappedBy: user
         snippets:
             targetEntity: Rapsys\AirBundle\Entity\Snippet
             mappedBy: user
+        googleTokens:
+            targetEntity: Rapsys\AirBundle\Entity\GoogleToken
+            mappedBy: user
     manyToMany:
         dances:
             targetEntity: Rapsys\AirBundle\Entity\Dance
     manyToMany:
         dances:
             targetEntity: Rapsys\AirBundle\Entity\Dance
@@ -40,7 +43,10 @@ Rapsys\AirBundle\Entity\User:
                         name: dance_id
         subscribers:
             targetEntity: 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:
             joinTable:
                 name: users_subscriptions
                 joinColumns:
@@ -49,9 +55,6 @@ Rapsys\AirBundle\Entity\User:
                 inverseJoinColumns:
                     id:
                         name: subscriber_id
                 inverseJoinColumns:
                     id:
                         name: subscriber_id
-        subscriptions:
-            targetEntity: Rapsys\AirBundle\Entity\User
-            mappedBy: subscribers
         locations:
             targetEntity: Rapsys\AirBundle\Entity\Location
             inversedBy: users
         locations:
             targetEntity: Rapsys\AirBundle\Entity\Location
             inversedBy: users