{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/8595","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/8595/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/8595/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/8595/events","html_url":"https://github.com/dimagi/commcare-hq/pull/8595","id":110971291,"number":8595,"title":"Fixtures db prep","user":{"login":"dannyroberts","id":137212,"avatar_url":"https://avatars.githubusercontent.com/u/137212?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyroberts","html_url":"https://github.com/dannyroberts","followers_url":"https://api.github.com/users/dannyroberts/followers","following_url":"https://api.github.com/users/dannyroberts/following{/other_user}","gists_url":"https://api.github.com/users/dannyroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyroberts/subscriptions","organizations_url":"https://api.github.com/users/dannyroberts/orgs","repos_url":"https://api.github.com/users/dannyroberts/repos","events_url":"https://api.github.com/users/dannyroberts/events{/privacy}","received_events_url":"https://api.github.com/users/dannyroberts/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dimagi/commcare-hq/labels/No%20lint%20errors","name":"No lint errors","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-12T13:05:40Z","updated_at":"2015-10-13T06:07:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/8595","html_url":"https://github.com/dimagi/commcare-hq/pull/8595","diff_url":"https://github.com/dimagi/commcare-hq/pull/8595.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/8595.patch"},"body":"This is seeming really simple because (we knew this before, but I rechecked):\r\n- `fixtures` views don't reference any other doc types\r\n- no other views reference fixtures doc types\r\n\r\nThe process to complete the migration is something like\r\n\r\n1. merge and deploy this PR\r\n2. run initial and continuous migrations ([docs](https://github.com/dimagi/commcare-hq/blob/master/corehq/doctypemigrations/README.md#run-the-doctype-migration))\r\n3. Make another PR flipping the db and deploy that\r\n4. kill continuous and eventually delete docs form old db (also in the docs above)"},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/147614974","html_url":"https://github.com/dimagi/commcare-hq/pull/8595#issuecomment-147614974","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/8595","id":147614974,"user":{"login":"czue","id":66555,"avatar_url":"https://avatars.githubusercontent.com/u/66555?v=3","gravatar_id":"","url":"https://api.github.com/users/czue","html_url":"https://github.com/czue","followers_url":"https://api.github.com/users/czue/followers","following_url":"https://api.github.com/users/czue/following{/other_user}","gists_url":"https://api.github.com/users/czue/gists{/gist_id}","starred_url":"https://api.github.com/users/czue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czue/subscriptions","organizations_url":"https://api.github.com/users/czue/orgs","repos_url":"https://api.github.com/users/czue/repos","events_url":"https://api.github.com/users/czue/events{/privacy}","received_events_url":"https://api.github.com/users/czue/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T06:07:12Z","updated_at":"2015-10-13T06:07:12Z","body":"and yeah - this is great!"}}