From e10e8c1462bcbd1b4826a4199427547568197b49 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Rapha=C3=ABl=20Gertz?= <git@rapsys.eu>
Date: Tue, 8 Dec 2020 01:22:37 +0100
Subject: [PATCH] Add score and canceled field

---
 Resources/config/doctrine/Application.orm.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Resources/config/doctrine/Application.orm.yml b/Resources/config/doctrine/Application.orm.yml
index e65953d..338d0c8 100644
--- a/Resources/config/doctrine/Application.orm.yml
+++ b/Resources/config/doctrine/Application.orm.yml
@@ -10,9 +10,12 @@ Rapsys\AirBundle\Entity\Application:
             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:
-- 
2.41.3