You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
upgradeDB function stores the upgrade callback functions with its version number as a key in javascript associative arrays.
But the ordering of key is not guaranteed to be preserved in javascript. (I'm not sure if the ordering is preserved in all browsers although it is not in javascript specification) so there is a possibility to apply modification to db in wrong order.
eg. create object-storeA in version1 and delete object-storeA in version2. (these should not be applied in reverse order)
The text was updated successfully, but these errors were encountered:
upgradeDB function stores the upgrade callback functions with its version number as a key in javascript associative arrays.
But the ordering of key is not guaranteed to be preserved in javascript. (I'm not sure if the ordering is preserved in all browsers although it is not in javascript specification) so there is a possibility to apply modification to db in wrong order.
eg. create object-storeA in version1 and delete object-storeA in version2. (these should not be applied in reverse order)
The text was updated successfully, but these errors were encountered: