X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/1660d1b61836bdbeac1d8df0dbbefc3d82d09814..0f6e0b65f14d1d417c41de11f0056ac7edc926e1:/Resources/config/doctrine/Session.orm.yml diff --git a/Resources/config/doctrine/Session.orm.yml b/Resources/config/doctrine/Session.orm.yml index 1367613..9631e93 100644 --- a/Resources/config/doctrine/Session.orm.yml +++ b/Resources/config/doctrine/Session.orm.yml @@ -20,6 +20,7 @@ Rapsys\AirBundle\Entity\Session: nullable: true premium: type: boolean + 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 ] + lifecycleCallbacks: + preUpdate: ['preUpdate']