X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/0539e335ae997520379e6170942604af25d461f5..b99f2af57efb16c003da2b62096d6e17cf3e08d1:/Resources/config/doctrine/Session.orm.yml?ds=inline diff --git a/Resources/config/doctrine/Session.orm.yml b/Resources/config/doctrine/Session.orm.yml index cccafa6..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 @@ -75,6 +76,9 @@ Rapsys\AirBundle\Entity\Session: #XXX: used in SessionRepository::findBestApplicationById(s3) application_locked_date_begin_slot_created: columns: [ application_id, locked, date, begin, slot_id, created ] + #XXX: candidated in findAllPendingDailyWeather and findAllPendingHourlyWeather + location_date_begin_length_slot: + columns: [ location_id, date, begin, length, slot_id ] # #XXX: tried for SessionRepository::findBestApplicationById(s2) # location_slot_application_locked_date_begin: # columns: [ location_id, slot_id, application_id, locked, date ] @@ -84,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']