{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/touchforms/issues/207","repository_url":"https://api.github.com/repos/dimagi/touchforms","labels_url":"https://api.github.com/repos/dimagi/touchforms/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/touchforms/issues/207/comments","events_url":"https://api.github.com/repos/dimagi/touchforms/issues/207/events","html_url":"https://github.com/dimagi/touchforms/pull/207","id":140881553,"number":207,"title":"Fix path used for clearing user dbs","user":{"login":"wpride","id":2293064,"avatar_url":"https://avatars.githubusercontent.com/u/2293064?v=3","gravatar_id":"","url":"https://api.github.com/users/wpride","html_url":"https://github.com/wpride","followers_url":"https://api.github.com/users/wpride/followers","following_url":"https://api.github.com/users/wpride/following{/other_user}","gists_url":"https://api.github.com/users/wpride/gists{/gist_id}","starred_url":"https://api.github.com/users/wpride/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpride/subscriptions","organizations_url":"https://api.github.com/users/wpride/orgs","repos_url":"https://api.github.com/users/wpride/repos","events_url":"https://api.github.com/users/wpride/events{/privacy}","received_events_url":"https://api.github.com/users/wpride/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dimagi/touchforms/labels/Ready%20for%20Review","name":"Ready for Review","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-15T05:54:46Z","updated_at":"2016-03-15T18:09:38Z","closed_at":"2016-03-15T07:05:53Z","pull_request":{"url":"https://api.github.com/repos/dimagi/touchforms/pulls/207","html_url":"https://github.com/dimagi/touchforms/pull/207","diff_url":"https://github.com/dimagi/touchforms/pull/207.diff","patch_url":"https://github.com/dimagi/touchforms/pull/207.patch"},"body":"Fix for http://manage.dimagi.com/default.asp?190831\r\n\r\nReally stupid of me, the SQLite DBs were never getting cleared out. This means that closed cases were continuing to live in the DBs. Even though their status was \"closed\", this would still mess with some intra-form calculations like Jen's (IE if you count all cases of a certain type). "},"comment":{"url":"https://api.github.com/repos/dimagi/touchforms/issues/comments/196954150","html_url":"https://github.com/dimagi/touchforms/pull/207#issuecomment-196954150","issue_url":"https://api.github.com/repos/dimagi/touchforms/issues/207","id":196954150,"user":{"login":"benrudolph","id":918514,"avatar_url":"https://avatars.githubusercontent.com/u/918514?v=3","gravatar_id":"","url":"https://api.github.com/users/benrudolph","html_url":"https://github.com/benrudolph","followers_url":"https://api.github.com/users/benrudolph/followers","following_url":"https://api.github.com/users/benrudolph/following{/other_user}","gists_url":"https://api.github.com/users/benrudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/benrudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrudolph/subscriptions","organizations_url":"https://api.github.com/users/benrudolph/orgs","repos_url":"https://api.github.com/users/benrudolph/repos","events_url":"https://api.github.com/users/benrudolph/events{/privacy}","received_events_url":"https://api.github.com/users/benrudolph/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T18:09:38Z","updated_at":"2016-03-15T18:09:38Z","body":"nice find :mag: "}}