i have an app that save in a list (importe_km_recorridos) the result of multiplying a number added in a textbox (TB_km) by a constant value (0,21).
Afterwards, I save this value in a tinydb with the tag importe_km_recorridos.
Now, The problem is the following: The constant value has changed, now is 0.25, I have changed this value by hand in the code of the app. Then, the events saved previously do not update the value of multiplication, but they keep the old values.
How can I do to update the values stored in the database? How can the users update this constant value and it apply to older values generated with other constant value??