]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Session.orm.yml
Add premium as nullable
[airbundle] / Resources / config / doctrine / Session.orm.yml
index 1367613b15fcb7bff6199d0fee85ae68d8b6f0ff..9631e932bcdb2d7dcb858d0d4b5b1814d87f589c 100644 (file)
@@ -20,6 +20,7 @@ Rapsys\AirBundle\Entity\Session:
             nullable: true
         premium:
             type: boolean
             nullable: true
         premium:
             type: boolean
+            nullable: true
         rainfall:
             type: float
             nullable: true
         rainfall:
             type: float
             nullable: true
@@ -87,3 +88,5 @@ Rapsys\AirBundle\Entity\Session:
 #        #XXX: tried for SessionRepository::findBestApplicationById(s4)
 #        location_application_locked_date:
 #            columns: [ location_id, application_id, locked, date ]
 #        #XXX: tried for SessionRepository::findBestApplicationById(s4)
 #        location_application_locked_date:
 #            columns: [ location_id, application_id, locked, date ]
+    lifecycleCallbacks:
+        preUpdate: ['preUpdate']