I am not very proficient on frontend topics and I am trying to find a way to reset indexeddb database completely on onupgradeneeded, which should be triggered every time the html changes.
Ho can I accomplish that?

So far I rely on clearing everything before reloading