when I have an IndexedDB DB and change keyPath - to test run it - needed delete DB in client browser and re-run (the script) web page? to applied new keyPath...
Code:
idb.onupgradeneeded = function(event){
	event.target.result.createObjectStore('entries',{keyPath:'entrydate'});