]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Application.orm.yml
Force string cast of simple xml elements
[airbundle] / Resources / config / doctrine / Application.orm.yml
index 338d0c87473915bad13ff30c4c51d1da0162d679..38de0fea3353d26dd3f551551bd82b91e8fe7da0 100644 (file)
@@ -21,13 +21,24 @@ Rapsys\AirBundle\Entity\Application:
         updated:
             type: datetime
     manyToOne:
+        dance:
+            targetEntity: Rapsys\AirBundle\Entity\Dance
+            inversedBy: applications
         session:
             targetEntity: Rapsys\AirBundle\Entity\Session
             inversedBy: applications
         user:
             targetEntity: Rapsys\AirBundle\Entity\User
             inversedBy: applications
-    oneToMany:
-        votes:
-            targetEntity: Rapsys\AirBundle\Entity\Vote
-            mappedBy: application
+    lifecycleCallbacks:
+        preUpdate: ['preUpdate']
+#    oneToMany:
+#        votes:
+#            targetEntity: Rapsys\AirBundle\Entity\Vote
+#            mappedBy: application
+#    indexes:
+#        #XXX: used in SessionRepository::XXX
+#        id_user:
+#            columns: [ id, user_id ]
+#        id_user_canceled:
+#            columns: [ id, user_id, canceled ]