An IndexedDB DB and change keyPath - to test run it - needed delete DB

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…

idb.onupgradeneeded = function(event){
	event.target.result.createObjectStore('entries',{keyPath:'entrydate'});

to re-test run it - needed delete old DB in client browser and re-run (the script) web page? to applied the new keyPath…in “table”

well?