How to upgrade IndexedDB data for settings? #74
-
Settings need a way of updating their data. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Every setting has its own version number and function for upgrading. Since all settings are part of the same db, they need a version number for the store, which will be the sum of all the version numbers of the settings. New settings can start with the number |
Beta Was this translation helpful? Give feedback.
-
There is just one version number for the settings IndexedDB. On upgrade, the upgrade functions of very saved setting is called. |
Beta Was this translation helpful? Give feedback.
There is just one version number for the settings IndexedDB. On upgrade, the upgrade functions of very saved setting is called.