]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Session.orm.yml
Rewrite delay names
[airbundle] / Resources / config / doctrine / Session.orm.yml
index 9c89adb927f8e40cbca1eade9459555d8919dab6..a9381475e5fe7083dbf4f89484a7b8fb77fd037b 100644 (file)
@@ -15,9 +15,38 @@ 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
+        locked:
+            type: datetime
+            nullable: true
         created:
             type: datetime
         updated:
@@ -39,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 ]