]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Location.orm.yml
Rename user group join table to users_groups
[airbundle] / Resources / config / doctrine / Location.orm.yml
index 303a51be4a688eaf4b0513f9858d2ddc4e76d4db..41a3e0c7326ace6f77dfd23a4e322c0f1029a943 100644 (file)
@@ -43,6 +43,13 @@ Rapsys\AirBundle\Entity\Location:
         sessions:
             targetEntity: Rapsys\AirBundle\Entity\Session
             mappedBy: location
+        snippets:
+            targetEntity: Rapsys\AirBundle\Entity\Snippet
+            mappedBy: location
+    manyToMany:
+        users:
+            targetEntity: Rapsys\AirBundle\Entity\User
+            mappedBy: locations
     indexes:
         #XXX: used in SessionRepository::(findAllPendingDailyWeather|findAllPendingHourlyWeather)
         zipcode: