oldVersion

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

MDN Reference