oldVersion

external val oldVersion: UInt53(source)

The oldVersion read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.

MDN Reference