X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/9cdff44c26cfca1c49917c4b1127346407432984..9309eaba0d6e5efa85d33be95f0a23f2df2e4228:/Resources/config/doctrine/Session.orm.yml?ds=sidebyside diff --git a/Resources/config/doctrine/Session.orm.yml b/Resources/config/doctrine/Session.orm.yml index 1367613..fb1e962 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 @@ -69,6 +70,9 @@ Rapsys\AirBundle\Entity\Session: date_location_slot: columns: [ date, location_id, slot_id ] indexes: + #XXX: used in SessionRepository::findAllByPeriodAsCalendarArray + date_location: + columns: [ date, location_id ] #XXX: used in SessionRepository::findAllPendingApplication locked_date_begin_created: columns: [ locked, date, begin, created ] @@ -87,3 +91,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']