-
-
Notifications
You must be signed in to change notification settings - Fork 641
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Allow downgrade + schema manip without version update * It should work having two versions of the DB opened at the same time as long as they have a compatible schema. A compatible schema does not need to have the same tables or indexes. They might differ quite a lot. * Attaching an upgrader to one of them would mean that the upgrader runs even though the first one didn't request it. Therefore, this scenario should be avoided when having upgraders that modify content between versions. * Schemas are not compatible if they index the same property or properties using different flags (unique or multiEntry) * Schemas are not compatible if they have different primary keys However, in most scenarios where we would fail opening one of the DBs, we will now succeed and be able to access the same data. * Fixing a unit test * Support infinite number of schema changes without version bump (Not just 10) When native verno is incremented 10 times to the next 10 multiple, create a table $meta that contains the virtual version. Maintain that table and delete it when no longer needed. * Skip 2 tests in Dexie.Syncable's / Observable's integration tests * Indentation only...
- Loading branch information
1 parent
a3487de
commit 54a23fa
Showing
6 changed files
with
297 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.