onUpgraded

abstract fun onUpgraded(oldVersion: Int, newVersion: Int)

Called when the EntityDataStore has been upgraded from an previous version to a new version.

Parameters

oldVersion

the old schema version

newVersion

the new schema version