Project metadata is stored in the DB for speed, so that the calculations are only done when a dependent entity changes rather than every time the value is displayed. However, sometimes, the logic of computation is changed in a patch (e.g. fix for #1318), but the DB values are not updated via a migration because calculation is done in code. One option here would be to add a method call on app start-up that refreshes the computed values in the DB.
Project metadata is stored in the DB for speed, so that the calculations are only done when a dependent entity changes rather than every time the value is displayed. However, sometimes, the logic of computation is changed in a patch (e.g. fix for #1318), but the DB values are not updated via a migration because calculation is done in code. One option here would be to add a method call on app start-up that refreshes the computed values in the DB.