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

Allow renaming/reversioning databases #53

Open
inexorabletash opened this Issue Oct 7, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@inexorabletash
Member

inexorabletash commented Oct 7, 2015

(The ability to rename stores/indexes was recently added to the ED)

Use case (c/o the Lovefield team:

  • a migration is needed from "old style" storage to "new style" storage. Rather than reversioning, it is easier in some cases to want to atomically rename the database, e.g. "this is now name:Bar at version:2" as part of the upgrade.
  • also applies to a "restore"

Needs design!

  • requested as part of the upgrade transaction?
  • fail the TX if the database by the new name already exists?

Imported from https://www.w3.org/2008/webapps/wiki/IndexedDatabaseFeatures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment