Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexedDBCache: Provide a naive, idempotent default implementation of migrateDB #881

Merged
merged 2 commits into from Aug 11, 2021

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented Aug 11, 2021

By default IndexedDBCache#migrateDB will now call createDB, which idempotently creates object stores as needed.

Also, introduces IndexedDBCache#createTransaction to DRY up the implementation.

By default `IndexedDBCache#migrateDB` will now call `createDB`, which idempotently creates object stores as needed.
@dgeb dgeb merged commit abad032 into main Aug 11, 2021
@dgeb dgeb deleted the idb-migration branch August 11, 2021 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant