]> Raphaël G. Git Repositories - airbundle/commitdiff
Add snippet feature
authorRaphaël Gertz <git@rapsys.eu>
Mon, 28 Dec 2020 07:53:37 +0000 (08:53 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 28 Dec 2020 07:53:37 +0000 (08:53 +0100)
Resources/config/doctrine/Location.orm.yml

index 303a51be4a688eaf4b0513f9858d2ddc4e76d4db..211cbc4295724bda5a928de05306e3dfbf45b05c 100644 (file)
@@ -43,6 +43,9 @@ Rapsys\AirBundle\Entity\Location:
         sessions:
             targetEntity: Rapsys\AirBundle\Entity\Session
             mappedBy: location
         sessions:
             targetEntity: Rapsys\AirBundle\Entity\Session
             mappedBy: location
+        snippets:
+            targetEntity: Rapsys\AirBundle\Entity\Snippet
+            mappedBy: location
     indexes:
         #XXX: used in SessionRepository::(findAllPendingDailyWeather|findAllPendingHourlyWeather)
         zipcode:
     indexes:
         #XXX: used in SessionRepository::(findAllPendingDailyWeather|findAllPendingHourlyWeather)
         zipcode: