]> Raphaël G. Git Repositories - airbundle/commitdiff
Add score and canceled field
authorRaphaël Gertz <git@rapsys.eu>
Tue, 8 Dec 2020 00:22:37 +0000 (01:22 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 8 Dec 2020 00:22:37 +0000 (01:22 +0100)
Resources/config/doctrine/Application.orm.yml

index e65953d92d62a8fa574977d4bf8eaf38cc6b746c..338d0c87473915bad13ff30c4c51d1da0162d679 100644 (file)
@@ -10,9 +10,12 @@ Rapsys\AirBundle\Entity\Application:
             options:
                 unsigned: true
     fields:
             options:
                 unsigned: true
     fields:
-#The score computed at attribution time, the sum of all session score divided by proximity in days (1 for sun-thu, 2 for fri-sat, +1 for high temperature, *-1 for bad weather)/abs(DAY(attribution date - session.date))
-#        score:
-#            type: float
+        score:
+            type: float
+            nullable: true
+        canceled:
+            type: datetime
+            nullable: true
         created:
             type: datetime
         updated:
         created:
             type: datetime
         updated: