Create small script to calculate "servicebelofte" for all signals in the database
bartjkdp opened this issue · comments
Currently we only calculate "servicebelofte" for newly created Signals. This was a show-stopper for releasing a new version to 's-Hertogenbosch production.
python api/app/manage.py calculate_deadlines
Using local database information
Find open Signals without deadlines ...
... re-assign category (triggering deadline calculation).
Number of signals without deadlines 290
Done
Nice 👍