The IDBVersionChangeEvent
interface of the IndexedDB API indicates that the version of the database has changed.
The specification has changed and some not up-to-date browsers only support the deprecated unique attribute, version
, from an early draft version.
oldVersion
and newVersion
attributes. See compatibility table to know what browsers support them.