X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/cf23b2a9c6b81bbf5fd5e5224ef0c6c6dd7ac592..66a391f05616bdd322e1d06f2d793727367e6c01:/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 68c6116..a938147 100644 --- a/Resources/config/doctrine/Session.orm.yml +++ b/Resources/config/doctrine/Session.orm.yml @@ -18,10 +18,35 @@ Rapsys\AirBundle\Entity\Session: length: type: time nullable: true -#The day score, 1 for sun-thu, 2 for fri-sat, +1 for high temperature, *-1 for bad weather -# score: -# type: smallint -# nullable: true + premium: + type: boolean + rainfall: + type: float + nullable: true + rainrisk: + type: float + nullable: true + realfeel: + type: float + nullable: true + realfeelmin: + type: float + nullable: true + realfeelmax: + type: float + nullable: true + temperature: + type: float + nullable: true + temperaturemin: + type: float + nullable: true + temperaturemax: + type: float + nullable: true + locked: + type: datetime + nullable: true created: type: datetime updated: @@ -43,3 +68,6 @@ Rapsys\AirBundle\Entity\Session: uniqueConstraints: date_location_slot: columns: [ date, location_id, slot_id ] + indexes: + application_date_begin_slot_created: + columns: [ application_id, date, begin, slot_id, created ]