{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/127","repository_url":"https://api.github.com/repos/driftyco/ionic-app-scripts","labels_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/127/comments","events_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/127/events","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/127","id":182055558,"number":127,"title":"Ionic 2 RC0 Pre-Populated databases","user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-10T16:15:55Z","updated_at":"2016-10-10T16:15:56Z","closed_at":null,"body":"_From @iursevla on October 9, 2016 8:40_\n\nIn ionic beta 11 i would put the pre-populated database on /www folder and use  [cordova-sqlite-ext plugin](https://github.com/litehelpers/cordova-sqlite-ext) with options:\r\n``` \r\nlet options = { name: 'myDatabase.db', existingDatabase: true };\r\n```\r\nNow in RC0, it won't work because everytime we run (ionic run...) the www folder is overwritten. \r\nI tried to put it on **/src** OR in **/src/assets** but with no luck in both cases.\r\n\r\nSo, **where should i put pre-populated databases in ionic 2 RC0** ?\n\n_Copied from original issue: driftyco/ionic#8583_"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/comments/252668582","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/127#issuecomment-252668582","issue_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/127","id":252668582,"user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T16:15:56Z","updated_at":"2016-10-10T16:15:56Z","body":"Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our [forum](https://forum.ionicframework.com) and take a look at the [app-scripts docs](https://github.com/driftyco/ionic-app-scripts#ionic-app-scripts). Thanks for using Ionic!"}}
{"actor":{"display_login":"jgw96"}}