X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/58242917a50ec39071529953e77343fd3eb6dda0..b57770b75767e45ed5b4eb9f600ec7c459c494cc:/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 9c89adb..810c4a0 100644
--- a/Resources/config/doctrine/Session.orm.yml
+++ b/Resources/config/doctrine/Session.orm.yml
@@ -15,9 +15,35 @@ Rapsys\AirBundle\Entity\Session:
         begin:
             type: time
             nullable: true
-        end:
+        length:
             type: time
             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
         created:
             type: datetime
         updated:
@@ -39,3 +65,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 ]