]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Location.orm.yml
Add strict
[airbundle] / Resources / config / doctrine / Location.orm.yml
index 211cbc4295724bda5a928de05306e3dfbf45b05c..41a3e0c7326ace6f77dfd23a4e322c0f1029a943 100644 (file)
@@ -46,6 +46,10 @@ Rapsys\AirBundle\Entity\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: