{"action":"opened","issue":{"url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/491","repository_url":"https://api.github.com/repos/dfahlander/Dexie.js","labels_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/491/comments","events_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/491/events","html_url":"https://github.com/dfahlander/Dexie.js/issues/491","id":214258113,"number":491,"title":"Trying to add store. Getting \"Dexie specification of currently installed DB version is missing\"","user":{"login":"nbrustein","id":82556,"avatar_url":"https://avatars0.githubusercontent.com/u/82556?v=3","gravatar_id":"","url":"https://api.github.com/users/nbrustein","html_url":"https://github.com/nbrustein","followers_url":"https://api.github.com/users/nbrustein/followers","following_url":"https://api.github.com/users/nbrustein/following{/other_user}","gists_url":"https://api.github.com/users/nbrustein/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrustein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrustein/subscriptions","organizations_url":"https://api.github.com/users/nbrustein/orgs","repos_url":"https://api.github.com/users/nbrustein/repos","events_url":"https://api.github.com/users/nbrustein/events{/privacy}","received_events_url":"https://api.github.com/users/nbrustein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-15T01:49:30Z","updated_at":"2017-03-15T01:49:30Z","closed_at":null,"body":"I'm trying to figure out how to add stores in a new version.  In version 1, I had 2 stores.  Now I want to add 3 more.  I've tried various things but keep getting errors either telling me that an index does not exist or \"Dexie specification of currently installed DB version is missing\".  As far as I have found, none of the examples in the docs show how to ADD a store, only how to change an existing one.\r\n\r\nHere is what I have now, and I'm getting the \"installed DB version is missing\" error.  How should it look?  Thanks.\r\n\r\n```\r\ndb.version(1).stores({\r\n    \"readable_stems\":\"&[readableId+stemId]\",\r\n    \"stems\":\"&id,&[languageId+name]\"\r\n});\r\n\r\ndb.version(2).stores({\r\n    \"user_readable_states\":\"&id,&[userId+readableId]\",\r\n    \"readable_stems\":\"&[readableId+stemId]\",\r\n    \"stems\":\"&id,&[languageId+name]\",\r\n    \"user_stem_states\":\"&[userId+stemId],[userId+starred]\",\r\n    \"chapter_paginations\":\"&id,&[userId+readableId+chapterIndex+targetWidth+targetHeight]\"\r\n})\r\n```\r\n\r\n\r\n "}}
{"actor":{"display_login":"nbrustein"}}