Versioning the Database

Learn how to upgrade the database version in IndexedDB.

Versioning the database of IndexedDB

IndexedDB is a client-side database, and developers don’t have full-time control over it.

For example, consider a scenario where we update the database version to 2 while a user is still using our web app with a version 1 database. The user won’t be notified until and unless the ...