{"action":"reopened","issue":{"url":"https://api.github.com/repos/bramski/angular-indexedDB/issues/62","repository_url":"https://api.github.com/repos/bramski/angular-indexedDB","labels_url":"https://api.github.com/repos/bramski/angular-indexedDB/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/bramski/angular-indexedDB/issues/62/comments","events_url":"https://api.github.com/repos/bramski/angular-indexedDB/issues/62/events","html_url":"https://github.com/bramski/angular-indexedDB/issues/62","id":146894645,"number":62,"title":"Upgrade function ordering","user":{"login":"lisaslyis","id":7444407,"avatar_url":"https://avatars.githubusercontent.com/u/7444407?v=3","gravatar_id":"","url":"https://api.github.com/users/lisaslyis","html_url":"https://github.com/lisaslyis","followers_url":"https://api.github.com/users/lisaslyis/followers","following_url":"https://api.github.com/users/lisaslyis/following{/other_user}","gists_url":"https://api.github.com/users/lisaslyis/gists{/gist_id}","starred_url":"https://api.github.com/users/lisaslyis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lisaslyis/subscriptions","organizations_url":"https://api.github.com/users/lisaslyis/orgs","repos_url":"https://api.github.com/users/lisaslyis/repos","events_url":"https://api.github.com/users/lisaslyis/events{/privacy}","received_events_url":"https://api.github.com/users/lisaslyis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-08T11:03:47Z","updated_at":"2016-04-08T11:13:53Z","closed_at":null,"body":"upgradeDB function stores the upgrade callback functions with its version number as a key in javascript associative arrays.\r\n\r\nBut the ordering of key is not guaranteed to be preserved in javascript. so there is a possibility to apply modification to db in wrong order.\r\n\r\neg. create object-storeA in version1 and delete object-storeA in version2. (these should not be applied in reverse order)"}}