Methods
_runMigration(version, storage) → {Promise}
Run a migration on the currently used storage
that checks to see if the current version is up to date.
If the version has not been set, this method will migrate
to the latest version.
Parameters:
| Name | Type | Description |
|---|---|---|
version |
Integer | version number of storage |
storage |
Object | storage class being checked |
Returns:
nullable promise containing migration logic
- Type
- Promise